Content-Length: 257803 | pFad | http://github.com/postgrespro/postgres/commit/a3b30d4cfe5f3ae718fd2cc6aa05b7707cac88dd

C4 Fix uninitialized variable. · postgrespro/postgres@a3b30d4 · GitHub
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)








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/a3b30d4cfe5f3ae718fd2cc6aa05b7707cac88dd

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy