mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
* cli/cli-decode.c (add_cmd): Initialize pre_show_hook in
the new command.
This commit is contained in:
@@ -90,6 +90,7 @@ add_cmd (char *name, enum command_class class, void (*fun) (char *, int),
|
||||
c->doc = doc;
|
||||
c->flags = 0;
|
||||
c->replacement = NULL;
|
||||
c->pre_show_hook = NULL;
|
||||
c->hook_pre = NULL;
|
||||
c->hook_post = NULL;
|
||||
c->hook_in = 0;
|
||||
|
||||
Reference in New Issue
Block a user