]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* profile.c (read_counts_file): Initialise 'checksum'.
authorGeoffrey Keating <geoffk@apple.com>
Sat, 12 Apr 2003 03:51:23 +0000 (03:51 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sat, 12 Apr 2003 03:51:23 +0000 (03:51 +0000)
From-SVN: r65502

gcc/ChangeLog
gcc/profile.c

index 2df891d35eeb913426e159b1193d00a896b9b242..a1bcab919c3a0c68ce219a86b342d5c1534106d0 100644 (file)
@@ -1,5 +1,7 @@
 2003-04-11  Geoffrey Keating  <geoffk@apple.com>
 
+       * profile.c (read_counts_file): Initialise 'checksum'.
+
        * emit-rtl.c (gen_rtx): Really correct typo.
 
        PR c++/9393
index 07f7a72e840fda122b8169e287cd29fc73d27f3b..5cbdd00c058e43ae397049dfcd35472025e4ca2e 100644 (file)
@@ -274,7 +274,7 @@ static void
 read_counts_file (const char *name)
 {
   char *function_name_buffer = NULL;
-  unsigned version, ix, checksum;
+  unsigned version, ix, checksum = -1;
   counts_entry_t *summaried = NULL;
   unsigned seen_summary = 0;