Skip to content

Commit a3b30d4

Browse files
committed
Fix uninitialized variable.
Report from Andres Freund, but not his fix.
1 parent 40dae7e commit a3b30d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_basebackup/pg_recvlogical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ StreamLog(void)
316316
int64 message_target = 0;
317317
int64 fsync_target = 0;
318318
struct timeval timeout;
319-
struct timeval *timeoutptr;
319+
struct timeval *timeoutptr = NULL;
320320

321321
FD_ZERO(&input_mask);
322322
FD_SET(PQsocket(conn), &input_mask);

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