mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-30 01:48:43 +02:00
The 'predefined' pointer argument to calmaFindCell() is for an optional return value, so must be NULL when feature is not used. Copilot Autofix rejected: newdef = calmaFindCell(newname, someSecondArgument); calma/CalmaRdcl.c1c822652(2020-12-04 16:56:51 -0500 1359) bool *predefined; /* If this cell was in memory before the GDS1c822652(2020-12-04 16:56:51 -0500 1360) * file was read, then this flag gets set.1c822652(2020-12-04 16:56:51 -0500 1361) */ commit1c82265244(tag: mpw-one-a, tag: 8.3.92) Date: Fri Dec 4 16:56:51 2020 -0500 CodeQL: https://github.com/dlmiles/magic/security/code-scanning/6 https://github.com/dlmiles/magic/security/code-scanning/5