diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-08 17:49:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-08 17:49:25 +0300 |
commit | d4370e2e0089be66f98210f6374031186dee4758 (patch) | |
tree | 5758a5a2339997a939e31ede698d69caaceeb292 /source/blender/makesrna/intern/rna_sculpt_paint.c | |
parent | 146b39a45d4ad1b36a977d19984797f984f161ec (diff) |
Cleanup, compiler warnings in release mode
Diffstat (limited to 'source/blender/makesrna/intern/rna_sculpt_paint.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sculpt_paint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_sculpt_paint.c b/source/blender/makesrna/intern/rna_sculpt_paint.c index 841a5be1aff..d2ed6229b13 100644 --- a/source/blender/makesrna/intern/rna_sculpt_paint.c +++ b/source/blender/makesrna/intern/rna_sculpt_paint.c @@ -277,6 +277,7 @@ static bool rna_Brush_mode_poll(PointerRNA *ptr, PointerRNA value) Brush *brush = value.id.data; const uint tool_offset = paint->runtime.tool_offset; const eObjectMode ob_mode = paint->runtime.ob_mode; + UNUSED_VARS_NDEBUG(tool_offset); BLI_assert(tool_offset && ob_mode); if (brush->ob_mode & ob_mode) { |