From e69194ae6513aa0bbf2728df09ec9133ae379714 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Mon, 27 Jun 2016 23:23:31 +0200 Subject: qt: fix linking error with global_capture_opts global_capture_opts is already defined by ui/commandline.c which is also linked with wireshark-qt.cpp. Remove the duplicate definition to avoid a build failure with the gold linker. Fixes regression from v2.1.1rc0-192-g9b5b444. Change-Id: I4484e2769bf270dee1ec0378fd9c925e01eaf390 Reviewed-on: https://code.wireshark.org/review/16175 Petri-Dish: Peter Wu Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu --- wireshark-qt.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 015706d5cc..1ab4f2eeca 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -124,10 +124,6 @@ #include #endif -#if defined(HAVE_LIBPCAP) || defined(HAVE_EXTCAP) -capture_options global_capture_opts; -#endif - /* update the main window */ void main_window_update(void) { -- cgit v1.2.3