From 481caf17bc4e40fd437e6ed51cb4c97ed8c10e96 Mon Sep 17 00:00:00 2001 From: vibhutisawant Date: Sat, 11 Apr 2020 07:45:03 -0700 Subject: [PATCH] Fix Bug #79431 Various compiler warnings on Big endian architecture with GCC 5.4.0 Fix [-Werror=maybe-uninitialized] compilation warnings on big endian system Closes GH-5373 --- ext/intl/collator/collator_is_numeric.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/intl/collator/collator_is_numeric.c b/ext/intl/collator/collator_is_numeric.c index b71e658e57..dffa2c81b9 100644 --- a/ext/intl/collator/collator_is_numeric.c +++ b/ext/intl/collator/collator_is_numeric.c @@ -69,7 +69,7 @@ static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */ char buf[64], *numbuf, *bufpos; size_t length = u - nstart; double value; - ALLOCA_FLAG(use_heap); + ALLOCA_FLAG(use_heap = 0); if (length < sizeof(buf)) { numbuf = buf; -- 2.40.0