From: Shawn Routhier Date: Fri, 11 Jun 2010 22:19:47 +0000 (+0000) Subject: Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] X-Git-Tag: v4_2_0rc1~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bceb78ba84db55d0d599b11cfb61bdb69de96e1f;p=thirdparty%2Fdhcp.git Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] --- diff --git a/RELNOTES b/RELNOTES index 521af7562..904bab8c7 100644 --- a/RELNOTES +++ b/RELNOTES @@ -39,6 +39,9 @@ The system has only been tested on Linux, FreeBSD, and Solaris, and may not work on other platforms. Please report any problems and suggested fixes to . + Changes since 4.2.0b2 + +- Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] Changes since 4.2.0b1 diff --git a/omapip/alloc.c b/omapip/alloc.c index 9efb2b0ad..1aad00c1f 100644 --- a/omapip/alloc.c +++ b/omapip/alloc.c @@ -4,7 +4,8 @@ protocol... */ /* - * Copyright (c) 2004-2007,2009 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2009-2010 by Internet Systems Consortium, Inc. ("ISC") + * Copyright (c) 2004-2007 by Internet Systems Consortium, Inc. ("ISC") * Copyright (c) 1999-2003 by Internet Software Consortium * * Permission to use, copy, modify, and distribute this software for any @@ -257,6 +258,7 @@ void dmalloc_dump_outstanding () struct dmalloc_preamble *dp; #if defined(DEBUG_MALLOC_POOL) unsigned char *foo; + int i; #endif if (!dmalloc_cutoff_point)