mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 18:02:52 +02:00
lef/defWrite.c: Call to function with fewer arguments than declared parameters
Fix code scanning alert no. 23: Call to function with fewer arguments than declared parameters (#38) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Tim Edwards
co-authored by
Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
parent
f69b02b092
commit
3c90bbbe1f
+1
-1
@@ -441,7 +441,7 @@ char *defHNsprintfPrefix(hierName, str, divchar)
|
||||
char *cp, c;
|
||||
|
||||
if (hierName->hn_parent)
|
||||
str = defHNsprintfPrefix(hierName->hn_parent, str);
|
||||
str = defHNsprintfPrefix(hierName->hn_parent, str, divchar);
|
||||
|
||||
cp = hierName->hn_name;
|
||||
while (*str++ = *cp++) ;
|
||||
|
||||
Reference in New Issue
Block a user