aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index d520266..be73769 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -1684,6 +1684,7 @@ pos %d"),
continue; /* Not a debugging symbol. */
sym_len = 0;
+ sym_name = NULL; /* pacify "gcc -Werror" */
if (psymtab_language == language_cplus)
{
char *new_name, *name = alloca (p - namestring + 1);