From 3b5cfa9a771b0a523855b72fe47e7bdf116550ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Tue, 25 Apr 2017 22:48:23 +0200 Subject: Qt: Don't use _U_ for unused parameters in C++ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If7acab5f438bb20b053fdcfef86b2f06765b5321 Reviewed-on: https://code.wireshark.org/review/21341 Reviewed-by: Stig Bjørlykke --- ui/qt/endpoint_dialog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ui/qt/endpoint_dialog.cpp') diff --git a/ui/qt/endpoint_dialog.cpp b/ui/qt/endpoint_dialog.cpp index dd7f5ba556..efdbe3bee0 100644 --- a/ui/qt/endpoint_dialog.cpp +++ b/ui/qt/endpoint_dialog.cpp @@ -270,10 +270,9 @@ public: // Column text raw representation. // Return a string, qulonglong, double, or invalid QVariant representing the raw column data. -#ifdef HAVE_GEOIP QVariant colData(int col, bool resolve_names, bool strings_only) const { -#else - QVariant colData(int col, bool resolve_names, bool strings_only _U_) const { +#ifndef HAVE_GEOIP + Q_UNUSED(strings_only) #endif hostlist_talker_t *endp_item = &g_array_index(conv_array_, hostlist_talker_t, conv_idx_); -- cgit v1.2.1