[PATCH vkd3d 3/6] tests: Annotate fall-through switch case (Coverity).

Józef Kucia joseph.kucia at gmail.com
Wed Oct 24 06:16:26 CDT 2018


From: Józef Kucia <jkucia at codeweavers.com>

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
---
 tests/d3d12.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/d3d12.c b/tests/d3d12.c
index a63e122f7232..15cd28241da7 100644
--- a/tests/d3d12.c
+++ b/tests/d3d12.c
@@ -14534,6 +14534,7 @@ static void test_typed_uav_store(void)
         {
             default:
                 trace("Unhandled format %#x.\n", tests[i].format);
+                /* fall-through */
             case DXGI_FORMAT_R32_FLOAT:
                 check_sub_resource_float(resource, 0, queue, command_list, tests[i].result.f, 2);
                 break;
-- 
2.18.1




More information about the wine-devel mailing list