Cycles: Explicitly mark arguments as unused

This commit is contained in:
Sergey Sharybin
2016-05-18 09:12:47 +02:00
parent e3218ded41
commit 2433a537fa
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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*/)
{
}