aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_basebackup/pg_recvlogical.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_recvlogical.c b/src/bin/pg_basebackup/pg_recvlogical.c
index a631cee2dd7..7b27aab5909 100644
--- a/src/bin/pg_basebackup/pg_recvlogical.c
+++ b/src/bin/pg_basebackup/pg_recvlogical.c
@@ -316,7 +316,7 @@ StreamLog(void)
int64 message_target = 0;
int64 fsync_target = 0;
struct timeval timeout;
- struct timeval *timeoutptr;
+ struct timeval *timeoutptr = NULL;
FD_ZERO(&input_mask);
FD_SET(PQsocket(conn), &input_mask);