From a5f7cbd597d517c7b3a6d6b98abde984fff38fa8 Mon Sep 17 00:00:00 2001 From: Darryl Miles Date: Mon, 30 Sep 2024 03:47:46 +0100 Subject: [PATCH] database/DBcellcopy.c: Call to function with fewer arguments than declared parameters Fix code scanning alert no. 9: Call to function with fewer arguments than declared parameters (#15) Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- database/DBcellcopy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/DBcellcopy.c b/database/DBcellcopy.c index d103ce38..d253ea08 100644 --- a/database/DBcellcopy.c +++ b/database/DBcellcopy.c @@ -603,7 +603,7 @@ DBFlattenInPlace(use, dest, xMask, dolabels, toplabels, doclear) { int savemask = scx.scx_use->cu_expandMask; scx.scx_use->cu_expandMask = CU_DESCEND_SPECIAL; - DBCellCopyAllLabels(&scx, &DBAllTypeBits, CU_DESCEND_SPECIAL, dest); + DBCellCopyAllLabels(&scx, &DBAllTypeBits, CU_DESCEND_SPECIAL, dest, NULL); scx.scx_use->cu_expandMask = savemask; }