Silence compiler warning about uninitialized variable.

It is set correctly on the only path that uses it, but the
compiler can't know that.
pull/1/head
Andrew Dunstan 14 years ago
parent 8cca49d8a0
commit 74e6d37276
  1. 2
      src/backend/port/win32_latch.c

@ -98,7 +98,7 @@ WaitLatchOrSocket(volatile Latch *latch, int wakeEvents, SOCKET sock,
HANDLE sockevent = WSA_INVALID_EVENT;
int numevents;
int result = 0;
int pmdeath_eventno;
int pmdeath_eventno = 0;
long timeout_ms;
Assert(wakeEvents != 0);

Loading…
Cancel
Save