fix: Accessing uninitialized variable
Trigger condition maybe that no labels exist in the project, so the loop never iterates.
This commit is contained in:
parent
8e0f34c6f1
commit
1ca23ca0a2
|
|
@ -1440,7 +1440,7 @@ calmaOutFunc(def, f, cliprect)
|
||||||
numports++;
|
numports++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (newll != NULL)
|
if (ll != NULL)
|
||||||
{
|
{
|
||||||
/* Turn linked list into an array, then run qsort on it */
|
/* Turn linked list into an array, then run qsort on it */
|
||||||
/* to sort by port number. */
|
/* to sort by port number. */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue