mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Do not forget to initialise the error value in daemon_reply.
This commit is contained in:
parent
e22fddbff6
commit
351aefc8a0
@ -34,7 +34,7 @@ error:
|
||||
|
||||
daemon_reply daemon_send(daemon_handle h, daemon_request rq)
|
||||
{
|
||||
daemon_reply reply = { .cft = NULL };
|
||||
daemon_reply reply = { .cft = NULL, .error = 0 };
|
||||
assert(h.socket_fd >= 0);
|
||||
|
||||
if (!rq.buffer) {
|
||||
|
Loading…
Reference in New Issue
Block a user