From c2f6efbc8a24b4ff2a3f1661541db86f433c69ab Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Mon, 11 Aug 2025 19:46:54 +0800 Subject: [PATCH] microsoft/clc: {} for struct initialize to avoid warning Signed-off-by: Yonggang Luo Part-of: --- src/microsoft/clc/compute_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsoft/clc/compute_test.cpp b/src/microsoft/clc/compute_test.cpp index 337206d66e9..725db270143 100644 --- a/src/microsoft/clc/compute_test.cpp +++ b/src/microsoft/clc/compute_test.cpp @@ -478,7 +478,7 @@ ComputeTest::run_shader_with_raw_args(Shader shader, if (args.size() != shader.dxil->kernel->num_args) throw runtime_error("incorrect number of inputs"); - struct clc_runtime_kernel_conf conf = { 0 }; + struct clc_runtime_kernel_conf conf = {}; // Older WARP and some hardware doesn't support int64, so for these tests, unconditionally lower away int64 // A more complex runtime can be smarter about detecting when this needs to be done