]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Silence "may be uninitialized" warnings.
authorCary Coutant <ccoutant@google.com>
Wed, 21 Jan 2015 23:43:52 +0000 (15:43 -0800)
committerCary Coutant <ccoutant@google.com>
Wed, 21 Jan 2015 23:43:52 +0000 (15:43 -0800)
2015-01-21  Cary Coutant  <ccoutant@google.com>

binutils/
* dwarf.c (display_debug_lines_raw): Silence "may be uninitialized"
warnings.

binutils/dwarf.c

index abbb18ae25bf28263d1382f377ccbf1795bf42ec..ec04663ac7b91a1fc3fa97803b822968d7875b1a 100644 (file)
@@ -3344,7 +3344,9 @@ display_debug_lines_raw (struct dwarf_section *section,
             Since the section is a fragment it does not have the details
             needed to fill out a LineInfo structure, so instead we use the
             details from the last full debug_line section that we processed.  */
+         start_of_line_program = data;
          end_of_sequence = end;
+         end_of_logicals = end;
          standard_opcodes = NULL;
          linfo = saved_linfo;
          /* PR 17531: file: 0522b371.  */