summaryrefslogtreecommitdiff
path: root/ui/qt/about_dialog.cpp
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-21 09:34:16 -0400
committerJeff Morriss <jeff.morriss.ws@gmail.com>2014-08-21 14:35:25 +0000
commit14605754afc3dd0da0ef2da1c534cb4d77cc2d9e (patch)
treed652c00122b943485ccd895bbb987983e4c0e8e1 /ui/qt/about_dialog.cpp
parenta3d8f31ad0a48f72cd6d8fa2b0c3659c9ea84745 (diff)
downloadwireshark-14605754afc3dd0da0ef2da1c534cb4d77cc2d9e.tar.gz
Fix compilation when we don't HAVE_LIBSMI or HAVE_GEOIP.
Change-Id: I7523c183fd46a649947ad316518dfffaddb02dbe Reviewed-on: https://code.wireshark.org/review/3772 Petri-Dish: Jeff Morriss <jeff.morriss.ws@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jeff Morriss <jeff.morriss.ws@gmail.com>
Diffstat (limited to 'ui/qt/about_dialog.cpp')
-rw-r--r--ui/qt/about_dialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/qt/about_dialog.cpp b/ui/qt/about_dialog.cpp
index 1d54f6690b..73c32396d7 100644
--- a/ui/qt/about_dialog.cpp
+++ b/ui/qt/about_dialog.cpp
@@ -125,8 +125,10 @@ AboutDialog::AboutDialog(QWidget *parent) :
QFile f_license;
const char *constpath;
QString message;
-#if defined (HAVE_LIBSMI) || defined (HAVE_GEOIP)
+#if defined(HAVE_LIBSMI) || defined(HAVE_GEOIP) || defined(HAVE_EXTCAP)
+#if defined(HAVE_LIBSMI) || defined(HAVE_GEOIP)
char *path = NULL;
+#endif
gint i;
gchar **resultArray;
#endif