git.samba.org
/
jlayton
/
wireshark.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b5b444
)
Put #ifdef/#endif around a variable used only on Windows.
author
Guy Harris
<guy@alum.mit.edu>
Sun, 19 Jun 2016 07:38:41 +0000
(
00:38
-0700)
committer
Guy Harris
<guy@alum.mit.edu>
Sun, 19 Jun 2016 07:39:57 +0000
(07:39 +0000)
Change-Id: Ia6fed6db03cb88433469e758693fcc72c4bd9071
Reviewed-on: https://code.wireshark.org/review/16009
Reviewed-by: Guy Harris <guy@alum.mit.edu>
wireshark-qt.cpp
patch
|
blob
|
history
diff --git
a/wireshark-qt.cpp
b/wireshark-qt.cpp
index 513eed676382b7efd2859652dd08b4ab4f34b020..094b482b49d08a42c9b51a8e95c68afa5794d960 100644
(file)
--- 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