From 6febf9b74046b31b65fe4cfebf34b7d59c9d7a6b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 19 Jun 2016 09:29:21 -0700 Subject: Get rid of an unused variable; set a structure member. There's no need for the capture_option_specified variable, but we *do* need to initialize the capture_option_specified member of *param_info before parsing the flags. Change-Id: I89d0b8c338c2784742b21ba4e854f702ce491849 Reviewed-on: https://code.wireshark.org/review/16017 Reviewed-by: Guy Harris --- wireshark-qt.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'wireshark-qt.cpp') diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 6b54f99f5b..f332dc455a 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -330,7 +330,6 @@ int main(int argc, char *argv[]) gchar *err_str; int status; #else - gboolean capture_option_specified = FALSE; #ifdef _WIN32 #ifdef HAVE_AIRPCAP gchar *err_str; -- cgit v1.2.3