From c969ef4b8fc1d06c13203b36f8cf5bb61a7730f0 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Tue, 22 Aug 2006 01:56:31 +0000 Subject: Merge from trunk. Whoa crap. --- test/malloc/testmalloc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/malloc/testmalloc.c') diff --git a/test/malloc/testmalloc.c b/test/malloc/testmalloc.c index 158bf4236..caf08a9e1 100644 --- a/test/malloc/testmalloc.c +++ b/test/malloc/testmalloc.c @@ -67,7 +67,10 @@ int main(void) goto Failed; } } - realloc(lp, 0); + { + void *unused_ret = realloc(lp, 0); + (void) unused_ret; + } printf("Allocate another 100 nodes 600 bytes each\n"); save = 0; -- cgit v1.2.3