Commit 74e6d372 authored by Andrew Dunstan's avatar Andrew Dunstan

Silence compiler warning about uninitialized variable.

It is set correctly on the only path that uses it, but the
compiler can't know that.
parent 8cca49d8
...@@ -98,7 +98,7 @@ WaitLatchOrSocket(volatile Latch *latch, int wakeEvents, SOCKET sock, ...@@ -98,7 +98,7 @@ WaitLatchOrSocket(volatile Latch *latch, int wakeEvents, SOCKET sock,
HANDLE sockevent = WSA_INVALID_EVENT; HANDLE sockevent = WSA_INVALID_EVENT;
int numevents; int numevents;
int result = 0; int result = 0;
int pmdeath_eventno; int pmdeath_eventno = 0;
long timeout_ms; long timeout_ms;
Assert(wakeEvents != 0); Assert(wakeEvents != 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment