Skip to content

transferhandler.cpp expression equivalent to 'bool(A) != bool(B)'

Marius Pa requested to merge nmariusp/kget:work/nmariusp/not_bool into master

Fix PVS-Studio issues "core/transferhandler.cpp:163: warning: V728 An excessive check can be simplified. The '(A && !B) || (!A && B)' expression is equivalent to the 'bool(A) != bool(B)' expression. core/kget.cpp:1408: warning: V581 The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 1386, 1408.".

Merge request reports