(tiny change)

* symtab.c (find_line_symtab): Initialize exact to avoid
        a compiler warning.
This commit is contained in:
Joel Brobecker 2009-02-23 03:07:14 +00:00
parent 84e473c82e
commit 6f43c46f4b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-02-23 Jay Krell <jay.krell@cornell.edu> (tiny change)
* symtab.c (find_line_symtab): Initialize exact to avoid
a compiler warning.
2009-02-23 Pedro Alves <pedro@codesourcery.com>
* i386-linux-nat.c (i386_linux_fetch_inferior_registers): Pass

View File

@ -2361,7 +2361,7 @@ find_pc_line (CORE_ADDR pc, int notcurrent)
struct symtab *
find_line_symtab (struct symtab *symtab, int line, int *index, int *exact_match)
{
int exact;
int exact = 0; /* Initialized here to avoid a compiler warning. */
/* BEST_INDEX and BEST_LINETABLE identify the smallest linenumber > LINE
so far seen. */