[Bf-blender-cvs] [a8553c9fa24] blender2.8: Silence warning on subsurf modifier

Dalai Felinto noreply at git.blender.org
Fri Oct 20 22:17:18 CEST 2017


Commit: a8553c9fa2482ca1a19bcf96edec2e8a3d261d86
Author: Dalai Felinto
Date:   Fri Oct 20 18:16:34 2017 -0200
Branches: blender2.8
https://developer.blender.org/rBa8553c9fa2482ca1a19bcf96edec2e8a3d261d86

Silence warning on subsurf modifier

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

M	source/blender/modifiers/intern/MOD_subsurf.c

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

diff --git a/source/blender/modifiers/intern/MOD_subsurf.c b/source/blender/modifiers/intern/MOD_subsurf.c
index 13eef35a198..a09923d6dfe 100644
--- a/source/blender/modifiers/intern/MOD_subsurf.c
+++ b/source/blender/modifiers/intern/MOD_subsurf.c
@@ -156,6 +156,7 @@ static DerivedMesh *applyModifier(ModifierData *md, const EvaluationContext *eva
 
 #ifndef WITH_OPESUBDIV
 	(void) do_cddm_convert;
+	UNUSED_VARS(eval_ctx);
 #endif
 
 	return result;



More information about the Bf-blender-cvs mailing list