diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-02-16 14:57:02 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2012-02-16 14:57:02 +0000 |
commit | b0d32fb61e974e283300e836c34cfaa94ab1c03d (patch) | |
tree | 3bc942182e582132de7866285d8a58b050e71821 /gdb/machoread.c | |
parent | 32d22ab1513353b68ccb6fff76e101b1e314c495 (diff) | |
download | gdb-b0d32fb61e974e283300e836c34cfaa94ab1c03d.zip gdb-b0d32fb61e974e283300e836c34cfaa94ab1c03d.tar.gz gdb-b0d32fb61e974e283300e836c34cfaa94ab1c03d.tar.bz2 |
2012-02-16 Josh Matthews <josh@joshmatthews.net>
* machoread.c: Initialize nbr_syms to avoid warnings-as-errors failure.
Diffstat (limited to 'gdb/machoread.c')
-rw-r--r-- | gdb/machoread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/machoread.c b/gdb/machoread.c index 9fa97e1..88ce612 100644 --- a/gdb/machoread.c +++ b/gdb/machoread.c @@ -180,7 +180,7 @@ macho_symtab_read (struct objfile *objfile, const asymbol *dir_so = NULL; const asymbol *file_so = NULL; asymbol **oso_file = NULL; - unsigned int nbr_syms; + unsigned int nbr_syms = 0; /* Current state while reading stabs. */ enum |