From: Shawn Routhier Date: Fri, 11 Jun 2010 22:13:44 +0000 (+0000) Subject: Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] X-Git-Tag: v4_3_0a1~273 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=badc999d0ef89ab20c35367f245adaf6e433f5f3;p=thirdparty%2Fdhcp.git Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] --- diff --git a/RELNOTES b/RELNOTES index 2442a73fa..de936e831 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..e61be9700 100644 --- a/omapip/alloc.c +++ b/omapip/alloc.c @@ -257,6 +257,7 @@ void dmalloc_dump_outstanding () struct dmalloc_preamble *dp; #if defined(DEBUG_MALLOC_POOL) unsigned char *foo; + int i; #endif if (!dmalloc_cutoff_point)