(tiny change)
authorJoel Brobecker <brobecker@gnat.com>
Mon, 23 Feb 2009 03:07:14 +0000 (03:07 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Mon, 23 Feb 2009 03:07:14 +0000 (03:07 +0000)
        * symtab.c (find_line_symtab): Initialize exact to avoid
        a compiler warning.

gdb/ChangeLog
gdb/symtab.c

index f0de11f7a5128f21ff818f8758a94066787a3a33..bcb4a50d5ee2163f1010035c9376cf537e2a54ae 100644 (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
index 1ef92a8d9162a591172ea999dcf771c7e6fe769f..d51c7aa6c2e59b8d41908de317b45b1059eb0983 100644 (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.  */
This page took 0.028656 seconds and 4 git commands to generate.