[Mesa-dev] [PATCH] genxml: Remove a redundant identical code for different branches

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 22 11:14:25 UTC 2017


On 2 August 2017 at 10:17, Mun, Gwan-gyeong <elongbug at gmail.com> wrote:
> Hi Jason,
>
> thanks for your kind explanation.
>
> I has totally understood your intention.
>
> ( I don't mean to bother you,  at first I just wanted to silence of
> below coverity warning.
> -------------------------------------------------------------------------------------------------------------------------------------------------------
> Identical code for different branches (IDENTICAL_BRANCHES)
> identical_branches: The same code is executed regardless of whether
> devinfo->is_haswell is true, because the 'then' and 'else' branches
> are identical. Should one of the branches be modified, or the entire
> 'if' statement replaced?
> -------------------------------------------------------------------------------------------------------------------------------------------------------
> }
>
Simply can change "Classification" to "Intentional" or "False Positive" ;-)

-Emil


More information about the mesa-dev mailing list