|
From: <sv...@va...> - 2007-11-20 07:04:40
|
Author: njn
Date: 2007-11-20 07:04:36 +0000 (Tue, 20 Nov 2007)
New Revision: 7189
Log:
shut GCC up
Modified:
trunk/coregrind/m_libcbase.c
Modified: trunk/coregrind/m_libcbase.c
===================================================================
--- trunk/coregrind/m_libcbase.c 2007-11-20 06:40:48 UTC (rev 7188)
+++ trunk/coregrind/m_libcbase.c 2007-11-20 07:04:36 UTC (rev 7189)
@@ -81,7 +81,7 @@
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_(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_(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_(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++;
|