grDStyle.c: newres, Branch condition evaluates to a garbage value

'newres' initialization is performed the wrong side of the label
to be effective to the code that uses it.

SonarCloud
Branch condition evaluates to a garbage value
https://sonarcloud.io/project/issues?open=AZJB16zUNGfDNup0RiqG&id=dlmiles_magic
This commit is contained in:
Darryl L. Miles 2024-10-04 20:21:29 +01:00 committed by Tim Edwards
parent 60f308826d
commit 26d6af464a
1 changed files with 2 additions and 2 deletions

View File

@ -542,9 +542,9 @@ char *libPath;
} }
else else
{ {
int newres = TRUE; int newres;
recovery: recovery:
newres = TRUE;
switch (section) switch (section)
{ {
case LAYOUT_STYLES: case LAYOUT_STYLES: