aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);