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

This commit is contained in:
Brecht Van Lommel 2014-01-16 22:27:25 +01:00
parent 62f9be7615
commit 568e678fa3
1 changed files with 1 additions and 0 deletions

View File

@ -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;