git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 40dae7e)
Fix uninitialized variable.
2014年3月18日 18:54:00 +0000 (14:54 -0400)
2014年3月18日 18:54:35 +0000 (14:54 -0400)
Report from Andres Freund, but not his fix.


diff --git a/src/bin/pg_basebackup/pg_recvlogical.c b/src/bin/pg_basebackup/pg_recvlogical.c
index a631cee2dd7aa215889357a7ad09408a9a120691..7b27aab5909122b75c71b8e10ec7dd2c69c6442c 100644 (file)
--- 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);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /