]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib/strutils: remove redundant condition
authorKarel Zak <kzak@redhat.com>
Wed, 18 Jul 2018 07:46:40 +0000 (09:46 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Jul 2018 07:48:19 +0000 (09:48 +0200)
commit8deb816173187ce0666c1daa37ec35e4b7026b98
tree586509c267317230c8dbd5548539a5dc6ac7adb8
parent366edea76e793d6db229b07f337c4b6823c2f7c4
lib/strutils: remove redundant condition

[util-linux-2.32.1/lib/strutils.c:122]: (style) Redundant condition: If 'EXPR == '0'', the comparison 'EXPR' is always true.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
lib/strutils.c