From 573e59da44006b4770bfacc0fceba5405ca04e22 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 03:48:27 +0100 Subject: [PATCH] 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> --- database/DBcellname.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/DBcellname.c b/database/DBcellname.c index 589cb72f..b554b5af 100644 --- a/database/DBcellname.c +++ b/database/DBcellname.c @@ -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). */