From 17fbd0854bb2f9bfd47bc161da3f6a84319f5871 Mon Sep 17 00:00:00 2001 From: vibhutisawant Date: Sat, 11 Apr 2020 07:45:03 -0700 Subject: [PATCH] fixed compilation warnings on big endian system --- 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 b71e658e5785..dffa2c81b94c 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;