[Bf-blender-cvs] [440aed9] compositor-2016: Cycles: Explicitly mark arguments as unused

Sergey Sharybin noreply at git.blender.org
Wed Jun 8 21:47:45 CEST 2016


Commit: 440aed9b1d4bf2db135e9294cb176ed04356d8c2
Author: Sergey Sharybin
Date:   Wed May 18 09:12:47 2016 +0200
Branches: compositor-2016
https://developer.blender.org/rB440aed9b1d4bf2db135e9294cb176ed04356d8c2

Cycles: Explicitly mark arguments as unused

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

M	intern/cycles/render/mesh.cpp
M	intern/cycles/render/osl.cpp

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

diff --git a/intern/cycles/render/mesh.cpp b/intern/cycles/render/mesh.cpp
index 96e6ce0..de1533c 100644
--- a/intern/cycles/render/mesh.cpp
+++ b/intern/cycles/render/mesh.cpp
@@ -1436,7 +1436,7 @@ bool Mesh::need_attribute(Scene *scene, AttributeStandard std)
 	return false;
 }
 
-bool Mesh::need_attribute(Scene *scene, ustring name)
+bool Mesh::need_attribute(Scene * /*scene*/, ustring name)
 {
 	if(name == ustring())
 		return false;
diff --git a/intern/cycles/render/osl.cpp b/intern/cycles/render/osl.cpp
index 5118d4b..3d14965 100644
--- a/intern/cycles/render/osl.cpp
+++ b/intern/cycles/render/osl.cpp
@@ -908,7 +908,7 @@ void OSLCompiler::parameter_array(const char * /*name*/, const float /*f*/[], in
 {
 }
 
-void OSLCompiler::parameter_color_array(const char *name, const array<float3>& f)
+void OSLCompiler::parameter_color_array(const char * /*name*/, const array<float3>& /*f*/)
 {
 }




More information about the Bf-blender-cvs mailing list