commands/CmdLQ.c: Call to function with fewer arguments than declared parameters

No AI resolution.

The NULL added is cdata which looks to be opaque callback user-defined-pointer,
this is not used in the method printPropertiesFunc() as a possible 3rd argument.

CodeQL: https://github.com/dlmiles/magic/security/code-scanning/157
This commit is contained in:
Darryl L. Miles
2024-10-01 12:36:12 -04:00
committed by Tim Edwards
parent 88a1a9b166
commit f47a173a49
+1 -1
View File
@@ -2324,7 +2324,7 @@ CmdDoProperty(def, cmd, argstart)
if (locargc == 1)
{
/* print all properties and their values */
DBPropEnum(def, printPropertiesFunc);
DBPropEnum(def, printPropertiesFunc, NULL);
}
else if (locargc == 2)