mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
fix: Accessing uninitialized variable
Trigger condition maybe that no labels exist in the project, so the loop never iterates.
This commit is contained in:
committed by
Tim Edwards
parent
8e0f34c6f1
commit
1ca23ca0a2
+1
-1
@@ -1440,7 +1440,7 @@ calmaOutFunc(def, f, cliprect)
|
||||
numports++;
|
||||
}
|
||||
}
|
||||
if (newll != NULL)
|
||||
if (ll != NULL)
|
||||
{
|
||||
/* Turn linked list into an array, then run qsort on it */
|
||||
/* to sort by port number. */
|
||||
|
||||
Reference in New Issue
Block a user