projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e38c27
)
tests: silence clang warning
author
Eric Blake
<eblake@redhat.com>
Mon, 30 Aug 2010 21:40:44 +0000
(15:40 -0600)
committer
Eric Blake
<eblake@redhat.com>
Mon, 30 Aug 2010 21:41:03 +0000
(15:41 -0600)
* tests/test-malloca.c (do_allocation): Avoid dead store.
Signed-off-by: Eric Blake <eblake@redhat.com>
ChangeLog
patch
|
blob
|
history
tests/test-malloca.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index 8262bce4052438331d618ca5597999fdd341367e..45bd20ff0f82d93acaa708745c2aa0c638d70e07 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,3
+1,8
@@
+2010-08-30 Eric Blake <eblake@redhat.com>
+
+ tests: silence clang warning
+ * tests/test-malloca.c (do_allocation): Avoid dead store.
+
2010-08-29 Bruno Haible <bruno@clisp.org>
gettext: Fix recent mistake.
diff --git
a/tests/test-malloca.c
b/tests/test-malloca.c
index 14ef3a9d9e3ff131b8f76014d1916b04072d4a82..8cf4d0da0b3bf8b75743b81a48d46c7ff79de786 100644
(file)
--- a/
tests/test-malloca.c
+++ b/
tests/test-malloca.c
@@
-27,7
+27,7
@@
do_allocation (int n)
{
void *ptr = malloca (n);
freea (ptr);
-
ptr =
safe_alloca (n);
+ safe_alloca (n);
}
void (*func) (int) = do_allocation;