Deal with a VERY BOGUS -Wuninitialized warning. (Again, appears to be
__noreturn__ related)
This commit is contained in:
parent
73d1752963
commit
84f8a722d2
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: subr_rmap.c,v 1.14 1998/08/04 04:03:15 perry Exp $ */
|
||||
/* $NetBSD: subr_rmap.c,v 1.15 1998/08/18 06:26:30 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1992, 1994 Wolfgang Solfrank.
|
||||
@ -139,6 +139,11 @@ rmfree(mp, size, addr)
|
||||
{
|
||||
struct mapent *ep, *fp;
|
||||
|
||||
#ifdef __GNUC__
|
||||
/* XXX VERY BOGUS -Wuninitialized warning */
|
||||
ep = NULL;
|
||||
#endif
|
||||
|
||||
/* first check arguments */
|
||||
if (size <= 0 || addr <= 0)
|
||||
panic("rmfree %s", mp->m_name);
|
||||
|
Loading…
Reference in New Issue
Block a user