mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Silence compiler warning about uninitialized variable.
It is set correctly on the only path that uses it, but the compiler can't know that.
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user