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:
Darryl Miles 2024-09-30 05:58:45 +01:00 committed by Tim Edwards
parent f69b02b092
commit 3c90bbbe1f
1 changed files with 1 additions and 1 deletions

View File

@ -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++) ;