aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-main.c')
-rw-r--r--gdb/tui/tui-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tui/tui-main.c b/gdb/tui/tui-main.c
index e073096..f302bd6 100644
--- a/gdb/tui/tui-main.c
+++ b/gdb/tui/tui-main.c
@@ -27,6 +27,7 @@ int
main (int argc, char **argv)
{
struct captured_main_args args;
+
memset (&args, 0, sizeof args);
args.argc = argc;
args.argv = argv;