mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/hlsl: Remove an unused local variable from create_loop().
This commit is contained in:
parent
39a03cfd22
commit
0959c6663f
Notes:
Alexandre Julliard
2023-04-20 22:58:03 +02:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/169
@ -444,7 +444,6 @@ static struct list *create_loop(struct hlsl_ctx *ctx, enum loop_type type, struc
|
||||
{
|
||||
struct list *list = NULL;
|
||||
struct hlsl_ir_loop *loop = NULL;
|
||||
struct hlsl_ir_if *cond_jump = NULL;
|
||||
|
||||
if (!(list = make_empty_list(ctx)))
|
||||
goto oom;
|
||||
@ -477,7 +476,6 @@ static struct list *create_loop(struct hlsl_ctx *ctx, enum loop_type type, struc
|
||||
|
||||
oom:
|
||||
vkd3d_free(loop);
|
||||
vkd3d_free(cond_jump);
|
||||
vkd3d_free(list);
|
||||
destroy_instr_list(init);
|
||||
destroy_instr_list(cond);
|
||||
|
Loading…
x
Reference in New Issue
Block a user