mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Do not forget to initialise the error value in daemon_reply.
This commit is contained in:
parent
d6afd3e0fc
commit
017c0c9e8c
@ -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