diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2017-04-25 22:48:23 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2017-04-26 06:11:20 +0000 |
commit | 3b5cfa9a771b0a523855b72fe47e7bdf116550ca (patch) | |
tree | f30b4d57a1fe31dc15ac3f1f20dc3b3a4719e519 /ui/qt/endpoint_dialog.cpp | |
parent | f493bad8a23591a999c16539e35415382591f0c3 (diff) | |
download | wireshark-3b5cfa9a771b0a523855b72fe47e7bdf116550ca.tar.gz |
Qt: Don't use _U_ for unused parameters in C++
Change-Id: If7acab5f438bb20b053fdcfef86b2f06765b5321
Reviewed-on: https://code.wireshark.org/review/21341
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/endpoint_dialog.cpp')
-rw-r--r-- | ui/qt/endpoint_dialog.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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_); |