]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tools: be more paranoid about possibly NULL description
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 22 Jul 2020 16:32:54 +0000 (17:32 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 23 Jul 2020 13:58:24 +0000 (14:58 +0100)
commitec550018104b3b97fc911dcff3b9d690cbb5e58c
tree153eff739f5f1b9854d898827b48057150255bc7
parent5e9d6b3a46c375e86e8b3be00d5eaef97dcf92fe
tools: be more paranoid about possibly NULL description

GCC 10 complains about "desc" possibly being a NULL dereference. Even
though it is a false positive, we can easily avoid it.

Reviewed-by: Laine Stump <laine@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tools/vsh.c