From 03acb453d93c3b70a6132dc114316e4c9b0b2aab Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 30 Aug 2022 13:51:45 +0200 Subject: [PATCH] windowscodecs/tests: Clean up after running test expected to fail. Signed-off-by: Matteo Bruni --- dlls/windowscodecs/tests/ddsformat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/windowscodecs/tests/ddsformat.c b/dlls/windowscodecs/tests/ddsformat.c index fc07fd7222c..a9965095d62 100644 --- a/dlls/windowscodecs/tests/ddsformat.c +++ b/dlls/windowscodecs/tests/ddsformat.c @@ -878,7 +878,7 @@ static void test_dds_decoder_image_parameters(void) hr = IWICDdsDecoder_GetParameters(dds_decoder, NULL); ok(hr == E_INVALIDARG, "GetParameters got unexpected hr %#lx\n", hr); - if (test_data[i].init_hr != S_OK && !test_data[i].wine_init) continue; + if (test_data[i].init_hr != S_OK && !test_data[i].wine_init) goto next; hr = init_decoder(decoder, stream, test_data[i].init_hr, test_data[i].wine_init); if (hr != S_OK) {