1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00

Ensure reply struct has all fields defined

Reply is returned by value.
This commit is contained in:
Zdenek Kabelac 2012-01-25 21:31:59 +00:00
parent 6e2761e928
commit 5f3191097d

View File

@ -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) {