From badc999d0ef89ab20c35367f245adaf6e433f5f3 Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Fri, 11 Jun 2010 22:13:44 +0000 Subject: [PATCH] Add declaration for variable in debug code in alloc.c. [ISC-Bugs #21472] --- RELNOTES | 3 +++ omapip/alloc.c | 1 + 2 files changed, 4 insertions(+) diff --git a/RELNOTES b/RELNOTES index 2442a73f..de936e83 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 9efb2b0a..e61be970 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)