utils/main.c: DefRead() Call to function with fewer arguments than declared parameters

Resolution maintains behaviour closest to original behaviour from a37fc1e2

Copilot Autofix no offered.

related git blame lef/defRead.c:
cfb81101 (2022-03-30 13:02:12 -0400 2388)     bool annotate;
f7df5e7c (2022-06-24 15:22:53 -0400 2389)     bool noblockage;

related commits:

commit cfb81101ec
Date:   Wed Mar 30 13:02:12 2022 -0400

commit f7df5e7c86 (tag: 8.3.315)
Date:   Fri Jun 24 15:22:53 2022 -0400

commit a37fc1e242
Date:   Thu Mar 5 14:29:54 2020 -0500

CodeQL: https://github.com/dlmiles/magic/security/code-scanning/29
This commit is contained in:
Darryl L. Miles 2024-09-29 23:00:00 +01:00 committed by Tim Edwards
parent 3db35216b9
commit fff3be2f29
1 changed files with 1 additions and 1 deletions

View File

@ -1191,7 +1191,7 @@ mainInitFinal()
LefRead(temporary->fn, FALSE, FALSE, -1);
break;
case FN_DEF_FILE:
DefRead(temporary->fn, FALSE);
DefRead(temporary->fn, FALSE, FALSE, FALSE);
break;
#endif
#ifdef MAGIC_WRAPPER