diff options
author | 2014-05-02 13:26:34 +0200 | |
---|---|---|
committer | 2014-05-09 09:11:31 -0400 | |
commit | 415168e0c7bda5371a876914d4fdb68c4556f28d (patch) | |
tree | 31a7ac1f696816f8768ce1434120888c82702ece /qga/commands-posix.c | |
parent | qga: Use return values instead of error_is_set(errp) (diff) | |
download | qemu-415168e0c7bda5371a876914d4fdb68c4556f28d.tar.xz qemu-415168e0c7bda5371a876914d4fdb68c4556f28d.zip |
hmp: Guard against misuse of hmp_handle_error()
Null errp argument makes no sense. Assert it's not null, to make this
explicit, and guard against misuse. All current callers pass non-null
errp.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions