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-09-29 23:00:00 +01:00 committed by Tim Edwards
parent 88a1a9b166
commit f47a173a49
1 changed files with 1 additions and 1 deletions

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)