aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorJoerg Mayer <jmayer@loplof.de>2017-09-17 05:11:27 +0400
committerJörg Mayer <jmayer@loplof.de>2017-09-17 01:15:48 +0000
commit6c4b9360e59eb94e3219c6c1bf9a72a1c35a674d (patch)
tree5af388ffa8a2084f03cd19fb4c7ac546d135717a /ui
parent51aaffb5f680ebea44b31b911dd71694a40254fe (diff)
Fix the trivial fix.
Change-Id: I95743eb53a3f30206a496163dea3b79f92a54b4e Reviewed-on: https://code.wireshark.org/review/23579 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/models/interface_tree_cache_model.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/models/interface_tree_cache_model.cpp b/ui/qt/models/interface_tree_cache_model.cpp
index 193bb1d5ba..b093478916 100644
--- a/ui/qt/models/interface_tree_cache_model.cpp
+++ b/ui/qt/models/interface_tree_cache_model.cpp
@@ -346,7 +346,7 @@ const interface_t * InterfaceTreeCacheModel::lookup(const QModelIndex &index) co
bool InterfaceTreeCacheModel::isAllowedToBeEdited(const QModelIndex &index) const
{
#ifndef HAVE_LIBPCAP
- Q_UNUSED index;
+ Q_UNUSED(index);
#else
const interface_t * device = lookup(index);
if ( device == 0 )
@@ -374,7 +374,7 @@ bool InterfaceTreeCacheModel::isAllowedToBeEdited(const QModelIndex &index) cons
bool InterfaceTreeCacheModel::isAvailableField(const QModelIndex &index) const
{
#ifndef HAVE_LIBPCAP
- Q_UNUSED index;
+ Q_UNUSED(index);
#else
const interface_t * device = lookup(index);