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-12-26 13:01:24 -05:00
committed by Tim Edwards
parent 60f308826d
commit 26d6af464a
+2 -2
View File
@@ -542,9 +542,9 @@ char *libPath;
}
else
{
int newres = TRUE;
int newres;
recovery:
newres = TRUE;
switch (section)
{
case LAYOUT_STYLES: