Re: [PATCH v1] util: vircommand: fix redundant if

2023-10-10 Thread Martin Kletzander
On Tue, Oct 10, 2023 at 11:54:14AM +0300, Dmitry Frolov wrote: Comparisson "if(ret == -1)" is always false. s/ss/s/ Fixed locally and Reviewed-by: Martin Kletzander I'll push it in a while. Thanks for the patch. This statement was forgotten during switching to g_new0() Found by Linux

[PATCH v1] util: vircommand: fix redundant if

2023-10-10 Thread Dmitry Frolov
Comparisson "if(ret == -1)" is always false. This statement was forgotten during switching to g_new0() Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: 0275b06a55fc7b1ec6a9e93f7fb73bea7388f634 ("util: command: use g_new0") Signed-off-by: Dmitry Frolov ---