aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-02-10 23:15:37 +0000
committerJeff Law <law@redhat.com>1997-02-10 23:15:37 +0000
commitefaf2b5892b8ad09a93e0551e183543e5bd18082 (patch)
tree97bbbad4cd022c4f0e0dc81cb77be881c7482ed3 /gdb/command.c
parent66e7ce0addc1ddb847c86c9280363aac7cb72795 (diff)
downloadgdb-efaf2b5892b8ad09a93e0551e183543e5bd18082.zip
gdb-efaf2b5892b8ad09a93e0551e183543e5bd18082.tar.gz
gdb-efaf2b5892b8ad09a93e0551e183543e5bd18082.tar.bz2
* blockframe.c (generic_get_saved_regs): Remove unused variable
"addr". * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl inside #ifdef CALL_DUMMY. (watch_command_1): Initialize target_resources_ok. * command.c (do_setshow_command): Provide dummy initialization for "match". * valops.c (find_function_addr): Move function & prototype inside #ifdef CALL_DUMMY. (value_arg_coerce): Similarly. (value_of_variable): Provide dummy initialization of "frame". Lint.
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 9afbf82..ee8d712 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -1230,7 +1230,7 @@ do_setshow_command (arg, from_tty, c)
int i;
int len;
int nmatches;
- char *match;
+ char *match = NULL;
char *p;
p = strchr (arg, ' ');