projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40dae7e
)
Fix uninitialized variable.
author
Robert Haas
<rhaas@postgresql.org>
Tue, 18 Mar 2014 18:54:00 +0000
(14:54 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Tue, 18 Mar 2014 18:54:35 +0000
(14:54 -0400)
Report from Andres Freund, but not his fix.
src/bin/pg_basebackup/pg_recvlogical.c
patch
|
blob
|
blame
|
history
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);