mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-28 17:15:13 +02:00
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:
committed by
Tim Edwards
parent
60f308826d
commit
26d6af464a
+2
-2
@@ -542,9 +542,9 @@ char *libPath;
|
||||
}
|
||||
else
|
||||
{
|
||||
int newres = TRUE;
|
||||
|
||||
int newres;
|
||||
recovery:
|
||||
newres = TRUE;
|
||||
switch (section)
|
||||
{
|
||||
case LAYOUT_STYLES:
|
||||
|
||||
Reference in New Issue
Block a user