From 0a029df55b1dcf3878d3680c359d199185ba3a9e Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 15 Jan 2006 20:26:02 +0000 Subject: * macroexp.c (expand): Initialize argc. * stabsread.c (read_type): Handle errors from read_args. (read_args): Return NULL for errors. --- gdb/macroexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/macroexp.c') 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; -- cgit v1.1