aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2016-10-29 08:59:18 +0200
committerRoland Knall <rknall@gmail.com>2016-10-30 08:44:25 +0000
commit42f0695f4d84093a1617ee1f35ee724aa4d98166 (patch)
tree31f59ea9c002b96909e34d5107da7d64ca3c927f /ui/qt
parentb8a766a8e644af73b615a8198749f87607f47e47 (diff)
Fix two warnings when compiling with rpcap support on macOS.
One is an unused variable warning turning error, the other is [ 71%] Building C object ui/CMakeFiles/ui.dir/recent.c.o /Users/jmayer/worktmp/wireshark/git/ui/recent.c:494:23: error: implicit conversion loses integer precision: 'glong' (aka 'long') to 'gint' (aka 'int') [-Werror,-Wshorten-64-to-32] rh->auth_type = auth_type; ~ ^~~~~~~~~ 1 error generated. Please review. Change-Id: If838f8fa1e8a76dc8c6cc78db495befdd527da92 Reviewed-on: https://code.wireshark.org/review/18544 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'ui/qt')
-rw-r--r--ui/qt/remote_capture_dialog.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/qt/remote_capture_dialog.cpp b/ui/qt/remote_capture_dialog.cpp
index a4b65fd6c3..81cd455183 100644
--- a/ui/qt/remote_capture_dialog.cpp
+++ b/ui/qt/remote_capture_dialog.cpp
@@ -38,8 +38,6 @@
#include <QMessageBox>
-static guint num_selected = 0;
-
RemoteCaptureDialog::RemoteCaptureDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::RemoteCaptureDialog)