Put #ifdef/#endif around a variable used only on Windows.

Change-Id: Ia6fed6db03cb88433469e758693fcc72c4bd9071
Reviewed-on: https://code.wireshark.org/review/16009
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-06-19 00:38:41 -07:00
parent 9b5b4443cf
commit 8634cee96d
1 changed files with 4 additions and 1 deletions

View File

@ -313,7 +313,10 @@ int main(int argc, char *argv[])
{ {
MainWindow *main_w; MainWindow *main_w;
int opt, ret_val; #ifdef _WIN32
int opt;
#endif
int ret_val;
char **ws_argv = argv; char **ws_argv = argv;
#ifdef _WIN32 #ifdef _WIN32