Put the definitions first
authorJaap Keuter <jaap.keuter@xs4all.nl>
Sun, 12 Feb 2017 11:32:10 +0000 (12:32 +0100)
committerMichael Mann <mmann78@netscape.net>
Sun, 12 Feb 2017 13:46:21 +0000 (13:46 +0000)
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>
extcap_spawn.c

index 80b1cb1c0c3f7d972329d702ab59b5a5221e0bcd..e486e4a15a1beb20c02191d2501d76942e3ffadc 100644 (file)
@@ -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);