Commit: 568e678fa3a72b5339f42449665c7403b3357a09
Author: Brecht Van Lommel
Date:   Thu Jan 16 22:27:25 2014 +0100
https://developer.blender.org/rB568e678fa3a72b5339f42449665c7403b3357a09

Code cleanup: fix gcc/clang compiler warning in release build.

===================================================================

M       source/blender/editors/space_view3d/drawobject.c

===================================================================

diff --git a/source/blender/editors/space_view3d/drawobject.c 
b/source/blender/editors/space_view3d/drawobject.c
index 71a0c86..05583f9 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -6576,6 +6576,7 @@ static void draw_object_matcap_check(View3D *v3d, Object 
*ob)
 {
        /* fixed rule, active object draws as matcap */
        BLI_assert((ob->mode & (OB_MODE_VERTEX_PAINT | OB_MODE_WEIGHT_PAINT | 
OB_MODE_TEXTURE_PAINT)) == 0);
+       (void)ob;
 
        if (v3d->defmaterial == NULL) {
                extern Material defmaterial;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to