mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
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:
committed by
Tim Edwards
parent
88a1a9b166
commit
f47a173a49
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user