Cleanup: compiler warnings

This commit is contained in:
2022-08-09 09:42:02 +10:00
parent 1e57ddf6ea
commit f5fc9a7edf
4 changed files with 15 additions and 13 deletions

View File

@@ -17,7 +17,7 @@ static void node_declare(NodeDeclarationBuilder &b)
static int gpu_shader_rgb(GPUMaterial *mat,
bNode *node,
bNodeExecData *UNUSED(execdata),
GPUNodeStack *in,
GPUNodeStack * /*in*/,
GPUNodeStack *out)
{
const bNodeSocket *socket = static_cast<bNodeSocket *>(node->outputs.first);

View File

@@ -17,7 +17,7 @@ static void sh_node_value_declare(NodeDeclarationBuilder &b)
static int gpu_shader_value(GPUMaterial *mat,
bNode *node,
bNodeExecData *UNUSED(execdata),
GPUNodeStack *in,
GPUNodeStack * /*in*/,
GPUNodeStack *out)
{
const bNodeSocket *socket = static_cast<bNodeSocket *>(node->outputs.first);