Commit bef432a1 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3dcompiler: Rename "func" to "decl" in free_function_decl().

Mostly just for consistency with other uses of struct hlsl_ir_function_decl.
parent c05acba1
......@@ -2445,12 +2445,12 @@ void free_instr(struct hlsl_ir_node *node)
}
}
static void free_function_decl(struct hlsl_ir_function_decl *func)
static void free_function_decl(struct hlsl_ir_function_decl *decl)
{
d3dcompiler_free((void *)func->semantic);
d3dcompiler_free(func->parameters);
free_instr_list(func->body);
d3dcompiler_free(func);
d3dcompiler_free((void *)decl->semantic);
d3dcompiler_free(decl->parameters);
free_instr_list(decl->body);
d3dcompiler_free(decl);
}
static void free_function_decl_rb(struct wine_rb_entry *entry, void *context)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment