]> git.ipfire.org Git - thirdparty/libsolv.git/commit
decision.c: Simplify else condition
authorChristoph Grüninger <foss@grueninger.de>
Wed, 14 May 2025 19:16:19 +0000 (21:16 +0200)
committerChristoph Grüninger <foss@grueninger.de>
Wed, 14 May 2025 19:16:19 +0000 (21:16 +0200)
commit1de3398f867f8c8d3124a801659358e2c5aa2253
tree0e009d6ddf4d54c9b5ba52f1ec845590bca02c02
parent1181b9664b2bc28c36f698191899dd23c07559ce
decision.c: Simplify else condition

Found by Cppcheck: "Expression is always true because
'else if' condition is opposite to previous condition
at line 608." (multiCondition)
src/decision.c