pgpool2.git / summary / log / commit / refs
commit ac8f6df72d873325eb50668e6ff3b6aca810569c
Author: Yoshiyuki Asaba <y-asaba at pgfoundry.org>
Date: Wed Aug 01 04:27:42 2007 +0000
Remove compiler warning.
child.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/child.c b/child.c
index 060f69fd0..6669a0c32 100644
--- a/child.c
+++ b/child.c
@@ -597,7 +597,7 @@ static POOL_CONNECTION *do_accept(int unix_fd, int inet_fd, struct timeval *time
static int cnt;
#endif
struct timeval *timeoutval;
- struct timeval tv1, tv2, tmback;
+ struct timeval tv1, tv2, tmback = {0, 0};
char remote_host[NI_MAXHOST];
char remote_port[NI_MAXSERV];
[parent: a5c58896201f]