database/DBcellname.c: Call to function with fewer arguments than declared parameters

Fix code scanning alert no. 10: Call to function with fewer arguments than declared parameters (#14)

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 03:48:27 +01:00 committed by Tim Edwards
parent a5f7cbd597
commit 573e59da44
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,7 @@ DBCellDelete(cellname, force)
/* so that WindUnload() will create a new one. */
if (!strcmp(cellname, UNNAMED))
DBCellRename(cellname, "__UNNAMED__");
DBCellRename(cellname, "__UNNAMED__", FALSE);
/* For all top-level cell uses, check if any windows have this */
/* use. If so, load the window with (UNNAMED). */