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++;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to