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>
This commit is contained in:
Martin Kaiser 2014-04-14 15:33:25 +02:00
parent c68769765c
commit 3aa48c8ad6
1 changed files with 1 additions and 1 deletions

View File

@ -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