diff options
Diffstat (limited to 'gdb/source.c')
-rw-r--r-- | gdb/source.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/source.c b/gdb/source.c index d8ca4a0..063ffe5 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -142,7 +142,7 @@ get_lines_to_list (void) struct symtab_and_line get_current_source_symtab_and_line (void) { - struct symtab_and_line cursal; + struct symtab_and_line cursal = { }; cursal.symtab = current_source_symtab; cursal.line = current_source_line; @@ -181,7 +181,7 @@ set_default_source_symtab_and_line (void) struct symtab_and_line set_current_source_symtab_and_line (const struct symtab_and_line *sal) { - struct symtab_and_line cursal; + struct symtab_and_line cursal = { }; cursal.symtab = current_source_symtab; cursal.line = current_source_line; |