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-10-01 12:36:13 -04:00
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
View File
@@ -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++) ;