8000 Fix uninitialized variable. · xtfeng/postgres@a3b30d4 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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)
0