Diffusion Krita a06f9205783c

CID 248911: Identical code for different branches (IDENTICAL_BRANCHES)

Authored by rempt on Sep 26 2019, 1:27 PM.

Description

CID 248911: Identical code for different branches (IDENTICAL_BRANCHES)

identical_branches: The same code is executed regardless of whether
clipMask->coordinates() == KoFlake::ObjectBoundingBox is true, because the
'then' and 'else' branches are identical. Should one of the branches be
modified, or the entire 'if' statement replaced?