projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tests/math/decimal-test.c (canonicalise-string): Fix uninitialised return value
[pspp]
/
tests
/
math
/
decimal-test.c
diff --git
a/tests/math/decimal-test.c
b/tests/math/decimal-test.c
index e586b19d6915a91445bc98251fa3fa35cfece8b4..791483efa687803c9dd16d149e6d96f9b733b4e9 100644
(file)
--- a/
tests/math/decimal-test.c
+++ b/
tests/math/decimal-test.c
@@
-37,7
+37,7
@@
static char *
canonicalise_string (const char *s)
{
- char *out;
+ char *out
= NULL
;
char *dot = NULL;
bool negative = false;
char *p;