Content-Length: 258296 | pFad | http://github.com/postgrespro/postgres/commit/74e6d37276564d4be1f60d9edb76d7d066395773

3F Silence compiler warning about uninitialized variable. · postgrespro/postgres@74e6d37 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/74e6d37276564d4be1f60d9edb76d7d066395773

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy