diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-19 00:38:41 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-19 07:39:57 +0000 |
commit | 8634cee96d2c88ff131f293b731722e3d5d7a162 (patch) | |
tree | 06221a356e2283262fb82f1a1b266af53398e29e /wireshark-qt.cpp | |
parent | 9b5b4443cf50aa0e5d98d8129a5c65c6c76a838b (diff) | |
download | wireshark-8634cee96d2c88ff131f293b731722e3d5d7a162.tar.gz |
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>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r-- | wireshark-qt.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 513eed6763..094b482b49 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -313,7 +313,10 @@ int main(int argc, char *argv[]) { MainWindow *main_w; - int opt, ret_val; +#ifdef _WIN32 + int opt; +#endif + int ret_val; char **ws_argv = argv; #ifdef _WIN32 |