diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-01-15 20:26:02 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-01-15 20:26:02 +0000 |
commit | 0a029df55b1dcf3878d3680c359d199185ba3a9e (patch) | |
tree | ab12b7f1a2e679e9b113966461071174d280f6a1 /gdb/macroexp.c | |
parent | 1731e543e0b37977db57a805c349f3c1e15c259f (diff) | |
download | gdb-0a029df55b1dcf3878d3680c359d199185ba3a9e.zip gdb-0a029df55b1dcf3878d3680c359d199185ba3a9e.tar.gz gdb-0a029df55b1dcf3878d3680c359d199185ba3a9e.tar.bz2 |
* macroexp.c (expand): Initialize argc.
* stabsread.c (read_type): Handle errors from read_args.
(read_args): Return NULL for errors.
Diffstat (limited to 'gdb/macroexp.c')
-rw-r--r-- | gdb/macroexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/macroexp.c b/gdb/macroexp.c index f5dc40c..a7ca6e0 100644 --- a/gdb/macroexp.c +++ b/gdb/macroexp.c @@ -927,7 +927,7 @@ expand (const char *id, else if (def->kind == macro_function_like) { struct cleanup *back_to = make_cleanup (null_cleanup, 0); - int argc; + int argc = 0; struct macro_buffer *argv = NULL; struct macro_buffer substituted; struct macro_buffer substituted_src; |