[PATCH vkd3d v3 04/14] tests: Initialize current_texture variable.
Matteo Bruni
mbruni at codeweavers.com
Fri Nov 5 13:35:48 CDT 2021
It avoids a compiler warning for me. There is no actual issue though.
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
tests/shader_runner_d3d12.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/shader_runner_d3d12.c b/tests/shader_runner_d3d12.c
index a17a171e..20d1ad6a 100644
--- a/tests/shader_runner_d3d12.c
+++ b/tests/shader_runner_d3d12.c
@@ -511,9 +511,9 @@ START_TEST(shader_runner_d3d12)
.rt_format = DXGI_FORMAT_R32G32B32A32_FLOAT,
};
size_t shader_source_size = 0, shader_source_len = 0;
+ struct texture *current_texture = NULL;
enum parse_state state = STATE_NONE;
unsigned int i, line_number = 0;
- struct texture *current_texture;
struct shader_context context;
const char *filename = NULL;
char *shader_source = NULL;
--
2.26.3
More information about the wine-devel
mailing list