diff options
author | Doug Evans <dje@google.com> | 2013-07-17 20:26:28 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-17 20:26:28 +0000 |
commit | 453e48a5a576472ddf5b099a1c0a0e00ff1da657 (patch) | |
tree | 1a4f651bf21a8af370b69b265f6e980d5212b654 /gdb | |
parent | 16419bae303527c4164640668685f2eefcb2448a (diff) | |
download | gdb-453e48a5a576472ddf5b099a1c0a0e00ff1da657.zip gdb-453e48a5a576472ddf5b099a1c0a0e00ff1da657.tar.gz gdb-453e48a5a576472ddf5b099a1c0a0e00ff1da657.tar.bz2 |
* cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization
of all *list variables.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/cli/cli-cmds.c | 21 |
2 files changed, 3 insertions, 21 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb95151..691470a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ 2013-07-17 Doug Evans <dje@google.com> + * cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization + of all *list variables. + * gdbcmd.h (togglelist): Delete. * cli/cli-cmds.c (togglelist): Delete. (init_cmd_lists): Update. diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c index 4c2825a..0649cbc 100644 --- a/gdb/cli/cli-cmds.c +++ b/gdb/cli/cli-cmds.c @@ -1558,27 +1558,6 @@ void init_cmd_lists (void) { max_user_call_depth = 1024; - - cmdlist = NULL; - infolist = NULL; - enablelist = NULL; - disablelist = NULL; - stoplist = NULL; - deletelist = NULL; - detachlist = NULL; - setlist = NULL; - unsetlist = NULL; - showlist = NULL; - sethistlist = NULL; - showhistlist = NULL; - unsethistlist = NULL; - maintenancelist = NULL; - maintenanceinfolist = NULL; - maintenanceprintlist = NULL; - setprintlist = NULL; - showprintlist = NULL; - setchecklist = NULL; - showchecklist = NULL; } static void |