Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2021-01-07 14:06:55 +0300
committerBastien Montagne <bastien@blender.org>2021-01-07 17:58:23 +0300
commit044dd42a0515e86ac768d4ad3d8aef4d7eda70f4 (patch)
tree206afe547d03153881c4c26908046ea2cdae573f /source/blender/blenkernel
parent987e9e2145fd31e9a3f763819b0e942ccd93bb65 (diff)
Cleanup: Undo system: minor simplification in non-debug code.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/undo_system.c3
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