mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 08:16:08 -04: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:
parent
8cca49d8a0
commit
74e6d37276
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue