Cleanup: identical code for different branches
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 26 Jul 2017 17:18:01 +0000 (13:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Aug 2017 19:13:25 +0000 (15:13 -0400)
commit4fde0f03fe680be7f1086adf2f5357ea517c8caa
treeda1dc42eb6cdd430e469fcefb036bfd37b4112d5
parent9e25485581205503d76fbabbbb6cdf4fe204e61d
Cleanup: identical code for different branches

Found by Coverity:

CID 1376174 (#1 of 1): Identical code for different branches
(IDENTICAL_BRANCHES)identical_branches: The same code is executed when
the condition !trimmer is true or false, because the code in the if-then
branch and after the if statement is identical. Should the if statement
be removed?

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/utils/trimmer/trimmer.c
This page took 0.024096 seconds and 4 git commands to generate.