[libvirt PATCH 4/4] tools: be more paranoid about possibly NULL description

Michal Privoznik mprivozn at redhat.com
Thu Jul 23 14:28:49 UTC 2020


On 7/22/20 7:21 PM, Daniel P. Berrangé wrote:
> GCC 10 complains about "desc" possibly being a NULL dereference. Even
> though it is a false positive, we can easily avoid it.
> 
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
>   tools/vsh.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list