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:
parent
60f308826d
commit
26d6af464a
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue