Cleanup: Undo system: minor simplification in non-debug code.

This commit is contained in:
2021-01-07 12:06:55 +01:00
parent 987e9e2145
commit 044dd42a05

View File

@@ -252,9 +252,8 @@ static void undosys_stack_validate(UndoStack *ustack, bool expect_non_empty)
} }
} }
#else #else
static void undosys_stack_validate(UndoStack *ustack, bool expect_non_empty) static void undosys_stack_validate(UndoStack *UNUSED(ustack), bool UNUSED(expect_non_empty))
{ {
UNUSED_VARS(ustack, expect_non_empty);
} }
#endif #endif