From 3ebac2babbd9af1593b86084214051c4c2da8eb2 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 27 Jun 2016 19:54:42 -0700 Subject: Have commandline_other_options() directly fill in the global structure. Other code looks at the global structure, so there won't be other structures; just fill in the global structure directly. Change-Id: I4dc87b79168c5a7c9ab1f085aa2d78cc6d2c9019 Reviewed-on: https://code.wireshark.org/review/16184 Reviewed-by: Guy Harris --- wireshark-qt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wireshark-qt.cpp') diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index b14962825f..6acfee27a1 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -592,7 +592,7 @@ int main(int argc, char *argv[]) global_commandline_info.prefs_p = ws_app.readConfigurationFiles(&gdp_path, &dp_path, false); /* Now get our args */ - commandline_other_options(argc, argv, &global_commandline_info, TRUE); + commandline_other_options(argc, argv, TRUE); /* Convert some command-line parameters to QStrings */ if (global_commandline_info.cf_name != NULL) -- cgit v1.2.3