* profile.c (read_counts_file): Initialise 'checksum'.

From-SVN: r65502
This commit is contained in:
Geoffrey Keating 2003-04-12 03:51:23 +00:00 committed by Geoffrey Keating
parent d5b9108c1e
commit 0aaafe7349
2 changed files with 3 additions and 1 deletions

View 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

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