Some fixes

This commit is contained in:
Jérôme Leclercq
2021-12-16 23:11:48 +01:00
parent 0f9060c45b
commit a8fefeb833
4 changed files with 9 additions and 5 deletions

View File

@@ -115,12 +115,12 @@ namespace Nz
}
}
void Visit(ShaderAst::ConditionalExpression& node) override
void Visit(ShaderAst::ConditionalExpression& /*node*/) override
{
throw std::runtime_error("unexpected conditional expression, did you forget to sanitize the shader?");
}
void Visit(ShaderAst::ConditionalStatement& node) override
void Visit(ShaderAst::ConditionalStatement& /*node*/) override
{
throw std::runtime_error("unexpected conditional expression, did you forget to sanitize the shader?");
}