Cycles: Explicitly mark arguments as unused
This commit is contained in:
@@ -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;
|
||||
|
@@ -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*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user