]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuMonitorJSONHumanCommand: Require @reply_str
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 22 Oct 2021 08:08:35 +0000 (10:08 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Oct 2021 11:42:14 +0000 (13:42 +0200)
commita70ae22cfd550ed2a29125bf4663c6d2d30402af
tree4e11f2021c7021417b258a78baa35d42f48c35b6
parent2d7257d5281d430de51c548ddd4273178066906a
qemuMonitorJSONHumanCommand: Require @reply_str

All callers of qemuMonitorJSONHumanCommand() pass a non-NULL pointer
as @reply_str therefore there's no need to check whether it is NULL.
NB, the sister function (qemuMonitorJSONArbitraryCommand()) doesn't
check for NULL either.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Tim Wiederhake <twiederh@redhat.com>
src/qemu/qemu_monitor_json.c