summaryrefslogtreecommitdiff
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-19 23:54:33 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-20 07:00:07 +0000
commit88b7a48bf59a047fbe172442f6ec0b7c9a1900a8 (patch)
treef4eec5022ef0bde6fa9ce6dd6da3c077522c4ab2 /ui/gtk/main.c
parent77950826f1755472ad9717a41e45b86b23663957 (diff)
downloadwireshark-88b7a48bf59a047fbe172442f6ec0b7c9a1900a8.tar.gz
Pull the options structure initialization into commandline_other_options().
Change-Id: I931cde27a81566dfa0ce6e5c9307bfc1a4d5fe54 Reviewed-on: https://code.wireshark.org/review/16033 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 8524dd7c98..9c61cae68a 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2360,21 +2360,6 @@ main(int argc, char *argv[])
fill_in_local_interfaces();
#endif*/
- /* Initialize commandline_info with default values */
- commandline_info.jump_backwards = SD_FORWARD;
- commandline_info.go_to_packet = 0;
- commandline_info.jfilter = NULL;
- commandline_info.cf_name = NULL;
- commandline_info.rfilter = NULL;
- commandline_info.dfilter = NULL;
-#ifdef HAVE_LIBPCAP
- commandline_info.start_capture = FALSE;
- commandline_info.list_link_layer_types = FALSE;
-#endif
- commandline_info.disable_protocol_slist = NULL;
- commandline_info.enable_heur_slist = NULL;
- commandline_info.disable_heur_slist = NULL;
-
/* Now get our args */
commandline_other_options(argc, argv, &commandline_info, TRUE);