Skip to content

Commit 481caf1

Browse files
vibhutisawantGirgias
authored andcommitted
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
1 parent dd163d0 commit 481caf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/intl/collator/collator_is_numeric.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static double collator_u_strtod(const UChar *nptr, UChar **endptr) /* {{{ */
6969
char buf[64], *numbuf, *bufpos;
7070
size_t length = u - nstart;
7171
double value;
72-
ALLOCA_FLAG(use_heap);
72+
ALLOCA_FLAG(use_heap = 0);
7373

7474
if (length < sizeof(buf)) {
7575
numbuf = buf;

0 commit comments

Comments
 (0)