summaryrefslogtreecommitdiff
path: root/gdb/cli/cli-cmds.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-17 20:26:28 +0000
committerDoug Evans <dje@google.com>2013-07-17 20:26:28 +0000
commit60d57d2ccf4cb4142a25487ee7ee054633b6df3b (patch)
tree262406e06cd0e24356f60c70d64705cfaa8ddbf5 /gdb/cli/cli-cmds.c
parent3cbfab9d816a3eeeb4d1e75309cbc05124605bbc (diff)
downloadgdb-60d57d2ccf4cb4142a25487ee7ee054633b6df3b.tar.gz
* cli/cli-cmds.c (init_cmd_lists): Delete unnecessary initialization
of all *list variables.
Diffstat (limited to 'gdb/cli/cli-cmds.c')
-rw-r--r--gdb/cli/cli-cmds.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 4c2825a93a1..0649cbc02a0 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