Skip to content

Commit 74e6d37

Browse files
committed
Silence compiler warning about uninitialized variable.
It is set correctly on the only path that uses it, but the compiler can't know that.
1 parent 8cca49d commit 74e6d37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/port/win32_latch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ WaitLatchOrSocket(volatile Latch *latch, int wakeEvents, SOCKET sock,
9898
HANDLE sockevent = WSA_INVALID_EVENT;
9999
int numevents;
100100
int result = 0;
101-
int pmdeath_eventno;
101+
int pmdeath_eventno = 0;
102102
long timeout_ms;
103103

104104
Assert(wakeEvents != 0);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy