extcheck/extcheck.c: EFDone() Call to function with fewer arguments than declared parameters
Passing NULL is valid in efFreeNodeList() to not perform callback.. extflat/EFdef.c: ^231a299 (2017-04-25 08:41:48 -0400 97) void5e3c26c9(2021-12-13 18:05:53 -0500 98) EFDone(func)5e3c26c9(2021-12-13 18:05:53 -0500 99) int (*func)(); commit5e3c26c95a(tag: 8.3.241) Date: Mon Dec 13 18:05:53 2021 -0500 extflat/EFdef.c:97 void EFDone(int (*func)()); extflat/EFbuild.c:2180 void efFreeNodeList(EFNode *head, int (*func)()); CodeQL: none (grep found this?)
This commit is contained in:
parent
c8e00ef494
commit
4d81a77bf3
|
|
@ -90,7 +90,7 @@ main(argc, argv)
|
|||
|
||||
#ifdef free_all_mem
|
||||
EFFlatDone(NULL);
|
||||
EFDone();
|
||||
EFDone(NULL);
|
||||
#endif /* free_all_mem */
|
||||
|
||||
printf("Memory used: %s\n", RunStats(RS_MEM, NULL, NULL));
|
||||
|
|
|
|||
Loading…
Reference in New Issue