On 01/04/2017 08:56 AM, Paolo Bonzini wrote:
> options must be non-NULL here, because it has been checked before.
> Reported by Coverity.
> 
> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
> ---
>  qemu-img.c | 12 +++++-------
>  1 file changed, 5 insertions(+), 7 deletions(-)

Reviewed-by: Eric Blake <ebl...@redhat.com>

(not shown in the diff, but several lines earlier, is:

    if (!options) {
        error_exit("Must specify options (-o)");
    }
)


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to