Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)