'error' is only used when we HAVE_LIBPCAP so only define it when that is the case.

svn path=/trunk/; revision=40716
This commit is contained in:
Jeff Morriss 2012-01-25 14:26:09 +00:00
parent 14b1a44c0f
commit a122d4616e
1 changed files with 4 additions and 2 deletions

View File

@ -977,7 +977,9 @@ welcome_new(void)
GtkWidget *topic_to_fill;
GtkWidget *file_child_box;
gchar *label_text;
#ifdef HAVE_LIBPCAP
int error;
#endif
#ifdef _WIN32
LONG reg_ret;
DWORD chimney_enabled = 0;