OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9f695b
)
fix warning about ignoring return value of realloc
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 15 Feb 2006 04:24:10 +0000
(
04:24
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 15 Feb 2006 04:24:10 +0000
(
04:24
-0000)
test/malloc/testmalloc.c
patch
|
blob
|
history
diff --git
a/test/malloc/testmalloc.c
b/test/malloc/testmalloc.c
index
158bf42
..
caf08a9
100644
(file)
--- 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;