aboutsummaryrefslogtreecommitdiffstats
path: root/extcap_spawn.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2017-02-12 12:32:10 +0100
committerMichael Mann <mmann78@netscape.net>2017-02-12 13:46:21 +0000
commit1e1ceeb7636fb50a3f35f6933407e4f32a118bb8 (patch)
treebd3d5995b67902f4bf17233f8ac1e6c748e58cf8 /extcap_spawn.c
parent6bbbc3456b132a8ba62202b988bf9abb1d923d0f (diff)
Put the definitions first
To help compilers that don't like mixed definitions, put the definitions first. Bug: 13398 Change-Id: I7f011feef7c7574df7a03cec87693e664be559ca Reviewed-on: https://code.wireshark.org/review/20067 Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'extcap_spawn.c')
-rw-r--r--extcap_spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extcap_spawn.c b/extcap_spawn.c
index 80b1cb1c0c..e486e4a15a 100644
--- a/extcap_spawn.c
+++ b/extcap_spawn.c
@@ -293,8 +293,8 @@ extcap_wait_for_pipe(HANDLE pipe_h, HANDLE pid)
DWORD dw;
HANDLE handles[2];
OVERLAPPED ov;
- ov.Pointer = 0;
gboolean success = FALSE;
+ ov.Pointer = 0;
ov.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
ConnectNamedPipe(pipe_h, &ov);