Cleanup: fix unused parameter in release builds

Add `UNUSED_VARS_NDEBUG(ac);` to silence the 'unused parameter' warning
in non-debug builds.

No functional changes.
This commit is contained in:
Sybren A. Stüvel
2025-09-09 17:57:27 +02:00
parent 9882f35353
commit 0aa3a0dc0a

View File

@@ -2907,6 +2907,7 @@ static bool animchannels_delete_containers(const bContext *C, bAnimContext *ac)
void ED_anim_ale_fcurve_delete(bAnimContext &ac, bAnimListElem &ale)
{
UNUSED_VARS_NDEBUG(ac);
BLI_assert(ELEM(ale.type, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE));
switch (ale.type) {