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

2020-07-23 Thread Michal Privoznik
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é --- tools/vsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by:

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

2020-07-22 Thread Laine Stump
On 7/22/20 1: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é Reviewed-by: Laine Stump So those were the only complaints of gcc 10? We got off

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

2020-07-22 Thread Daniel P . Berrangé
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é --- tools/vsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/vsh.c b/tools/vsh.c index