From a72987b053907fac0034d7c7976b52ded48d7a35 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 20 Nov 2007 07:04:36 +0000 Subject: [PATCH] shut GCC up git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7189 --- coregrind/m_libcbase.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coregrind/m_libcbase.c b/coregrind/m_libcbase.c index 6331a7a657..280efedff8 100644 --- a/coregrind/m_libcbase.c +++ b/coregrind/m_libcbase.c @@ -81,7 +81,7 @@ static Bool is_base36_digit(Char c, Long* digit) Long VG_(strtoll8) ( Char* str, Char** endptr ) { Bool neg = False; - Long n = 0, digit; + Long n = 0, digit = 0; // Skip leading whitespace. while (VG_(isspace)(*str)) str++; @@ -103,7 +103,7 @@ Long VG_(strtoll8) ( Char* str, Char** endptr ) Long VG_(strtoll10) ( Char* str, Char** endptr ) { Bool neg = False; - Long n = 0, digit; + Long n = 0, digit = 0; // Skip leading whitespace. while (VG_(isspace)(*str)) str++; @@ -125,7 +125,7 @@ Long VG_(strtoll10) ( Char* str, Char** endptr ) Long VG_(strtoll16) ( Char* str, Char** endptr ) { Bool neg = False; - Long n = 0, digit; + Long n = 0, digit = 0; // Skip leading whitespace. while (VG_(isspace)(*str)) str++; @@ -155,7 +155,7 @@ Long VG_(strtoll16) ( Char* str, Char** endptr ) Long VG_(strtoll36) ( Char* str, Char** endptr ) { Bool neg = False; - Long n = 0, digit; + Long n = 0, digit = 0; // Skip leading whitespace. while (VG_(isspace)(*str)) str++; -- 2.47.2