]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lscpu: remove redundant condition check [cppcheck]
authorSami Kerola <kerolasa@iki.fi>
Sat, 18 May 2019 21:25:11 +0000 (22:25 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 18 May 2019 21:26:09 +0000 (22:26 +0100)
commit6dd7b74b3ba1a9cea30f6406dce1f5108ec10f93
treeb146b87b318f4b3bdb792ce4478ef46e07361b31
parentcbcedf6ba83b0929ad21e227db62883886d2ccce
lscpu: remove redundant condition check [cppcheck]

[sys-utils/lscpu.c:1783] -> [sys-utils/lscpu.c:1785]: (warning) Either the
condition 'desc' is redundant or there is possible null pointer dereference: desc.
[sys-utils/lscpu.c:1840] -> [sys-utils/lscpu.c:1842]: (warning) Either the
condition 'desc' is redundant or there is possible null pointer dereference: desc.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/lscpu.c