From 88b7a48bf59a047fbe172442f6ec0b7c9a1900a8 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 19 Jun 2016 23:54:33 -0700 Subject: Pull the options structure initialization into commandline_other_options(). Change-Id: I931cde27a81566dfa0ce6e5c9307bfc1a4d5fe54 Reviewed-on: https://code.wireshark.org/review/16033 Reviewed-by: Guy Harris --- wireshark-qt.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'wireshark-qt.cpp') diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 9bc9ac826e..6aff5979c8 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -595,21 +595,6 @@ int main(int argc, char *argv[]) commandline_info.prefs_p = ws_app.readConfigurationFiles(&gdp_path, &dp_path, false); - /* 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); -- cgit v1.2.1