[Bf-blender-cvs] [3c828c29b34] blender2.8: Cleanup: unused value

Campbell Barton noreply at git.blender.org
Fri Jun 22 15:27:18 CEST 2018


Commit: 3c828c29b34976211f797c422dd039d5e9fbaac4
Author: Campbell Barton
Date:   Fri Jun 22 15:21:12 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB3c828c29b34976211f797c422dd039d5e9fbaac4

Cleanup: unused value

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

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

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

diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c
index 2de737129fa..702e557ccb1 100644
--- a/source/blender/modifiers/intern/MOD_ocean.c
+++ b/source/blender/modifiers/intern/MOD_ocean.c
@@ -549,12 +549,11 @@ static DerivedMesh *doOcean(
 }
 #else  /* WITH_OCEANSIM */
 static DerivedMesh *doOcean(
-        ModifierData *md, Scene *scene, Object *UNUSED(ob),
+        ModifierData *UNUSED(md), Scene *UNUSED(scene), Object *UNUSED(ob),
         DerivedMesh *derivedData,
         int UNUSED(useRenderParams))
 {
 	/* unused */
-	(void)md;
 	return derivedData;
 }
 #endif /* WITH_OCEANSIM */



More information about the Bf-blender-cvs mailing list