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
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-06-25 12:02:19 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-25 12:02:19 +0300
commit1099ac1ed9d8e48cb36c4dc28a0e6d9520658de2 (patch)
treee452e7356eb4f4f8e83413fc79e5fa219161024f /source
parentd864332085ccdc01a757a6bf7364b0f1453cfccb (diff)
Silence warning for release builds
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/workspace.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/workspace.c b/source/blender/blenkernel/intern/workspace.c
index 99fb6b14a35..3a9a392da4a 100644
--- a/source/blender/blenkernel/intern/workspace.c
+++ b/source/blender/blenkernel/intern/workspace.c
@@ -235,6 +235,9 @@ WorkSpaceLayout *BKE_workspace_layout_add(
WorkSpaceLayout *layout = MEM_callocN(sizeof(*layout), __func__);
BLI_assert(!workspaces_is_screen_used(bmain, screen));
+#ifndef DEBUG
+ UNUSED_VARS(bmain);
+#endif
layout->screen = screen;
workspace_layout_name_set(workspace, layout, name);
BLI_addtail(&workspace->layouts, layout);