diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-03-31 11:19:54 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-03-31 11:19:54 +0000 |
commit | 02d20e4a1097a1fa64fe9cbf7a6605abe442e735 (patch) | |
tree | 66f2f8f9f783c38483f396cd843089d4c62914c2 /gdb/breakpoint.c | |
parent | 083faca904b9186ace2086deb7126a1b15f23f4a (diff) | |
download | gdb-02d20e4a1097a1fa64fe9cbf7a6605abe442e735.zip gdb-02d20e4a1097a1fa64fe9cbf7a6605abe442e735.tar.gz gdb-02d20e4a1097a1fa64fe9cbf7a6605abe442e735.tar.bz2 |
* breakpoint.c (addr_string_to_sals): Avoid uninitialized
variable compiler warning.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index f07ee10..ed7c1c1 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -10584,7 +10584,7 @@ addr_string_to_sals (struct breakpoint *b, char *addr_string, int *found) { char *s; int marker_spec, not_found; - struct symtabs_and_lines sals; + struct symtabs_and_lines sals = {0}; struct gdb_exception e; s = addr_string; |