mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +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;
|
||||
int numevents;
|
||||
int result = 0;
|
||||
int pmdeath_eventno;
|
||||
int pmdeath_eventno = 0;
|
||||
long timeout_ms;
|
||||
|
||||
Assert(wakeEvents != 0);
|
||||
|
Reference in New Issue
Block a user