From: Zdenek Kabelac Date: Wed, 25 Jan 2012 21:31:59 +0000 (+0000) Subject: Ensure reply struct has all fields defined X-Git-Tag: v2_02_91~84 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=5f3191097da17bba47658badffe3a504b576890d;p=lvm2.git Ensure reply struct has all fields defined Reply is returned by value. --- 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) {