Re: [libvirt PATCH v2 06/10] udevProcessCCW: Initialize variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 01, 2021 at 13:42:03 +0100, Tim Wiederhake wrote:
> `udevGetIntSysfsAttr` does not necessarily write to the third parameter,
> even when it returns 0.
> 
> This was found by clang-tidy's
> "clang-analyzer-core.UndefinedBinaryOperatorResult" check.
> 
> Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
> ---
>  src/node_device/node_device_udev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux