From 24b43dd4a73d30e0237d068597aff439e9b27629 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 16 Feb 2015 09:17:12 +0100 Subject: [PATCH] tests/math/decimal-test.c (canonicalise-string): Fix uninitialised return value --- tests/math/decimal-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/math/decimal-test.c b/tests/math/decimal-test.c index e586b19d69..791483efa6 100644 --- 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; -- 2.30.2