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:
parent
f69b02b092
commit
3c90bbbe1f
|
|
@ -441,7 +441,7 @@ char *defHNsprintfPrefix(hierName, str, divchar)
|
||||||
char *cp, c;
|
char *cp, c;
|
||||||
|
|
||||||
if (hierName->hn_parent)
|
if (hierName->hn_parent)
|
||||||
str = defHNsprintfPrefix(hierName->hn_parent, str);
|
str = defHNsprintfPrefix(hierName->hn_parent, str, divchar);
|
||||||
|
|
||||||
cp = hierName->hn_name;
|
cp = hierName->hn_name;
|
||||||
while (*str++ = *cp++) ;
|
while (*str++ = *cp++) ;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue