From cd55e7238a2cfd31fc25b261d9aebdd8af46ee1e Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Wed, 25 Jan 2012 21:31:59 +0000 Subject: [PATCH] Ensure reply struct has all fields defined Reply is returned by value. --- daemons/common/daemon-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemons/common/daemon-client.c b/daemons/common/daemon-client.c index 87304585d..652ffdb5e 100644 --- a/daemons/common/daemon-client.c +++ b/daemons/common/daemon-client.c @@ -34,7 +34,7 @@ error: daemon_reply daemon_send(daemon_handle h, daemon_request rq) { - daemon_reply reply; + daemon_reply reply = { .cft = NULL }; assert(h.socket_fd >= 0); if (!rq.buffer) {