diff options
author | Bastien Montagne <bastien@blender.org> | 2021-01-07 14:06:55 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-01-07 17:58:23 +0300 |
commit | 044dd42a0515e86ac768d4ad3d8aef4d7eda70f4 (patch) | |
tree | 206afe547d03153881c4c26908046ea2cdae573f /source/blender/blenkernel/intern/undo_system.c | |
parent | 987e9e2145fd31e9a3f763819b0e942ccd93bb65 (diff) |
Cleanup: Undo system: minor simplification in non-debug code.
Diffstat (limited to 'source/blender/blenkernel/intern/undo_system.c')
-rw-r--r-- | source/blender/blenkernel/intern/undo_system.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/undo_system.c b/source/blender/blenkernel/intern/undo_system.c index 5544e151ddb..9c7e226007a 100644 --- a/source/blender/blenkernel/intern/undo_system.c +++ b/source/blender/blenkernel/intern/undo_system.c @@ -252,9 +252,8 @@ static void undosys_stack_validate(UndoStack *ustack, bool expect_non_empty) } } #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 |