aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2014-04-14 15:33:25 +0200
committerMartin Kaiser <wireshark@kaiser.cx>2014-04-14 13:35:06 +0000
commit3aa48c8ad63211b694914c525e4401f9a694a9fe (patch)
tree4f1d11cf383c4cc5758c920f2060a8a3660954bb /ui
parentc68769765cae2025e167c811a748e514822e73db (diff)
path is used only for libsmi and geoip
fix a compile error when they're both unused Change-Id: I23b341bc02624e3e56320818056ac3cc8cd65b99 Reviewed-on: https://code.wireshark.org/review/1107 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'ui')
-rw-r--r--ui/qt/about_dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/about_dialog.cpp b/ui/qt/about_dialog.cpp
index 94aa026103..a583ca8875 100644
--- a/ui/qt/about_dialog.cpp
+++ b/ui/qt/about_dialog.cpp
@@ -122,10 +122,10 @@ AboutDialog::AboutDialog(QWidget *parent) :
ui->setupUi(this);
QFile f_authors;
QFile f_license;
- char *path = NULL;
const char *constpath;
QString message;
#if defined (HAVE_LIBSMI) || defined (HAVE_GEOIP)
+ char *path = NULL;
gint i;
gchar **resultArray;
#endif