turnip: Drop unused variable.
authorEric Anholt <eric@anholt.net>
Sat, 14 Dec 2019 00:52:47 +0000 (16:52 -0800)
committerMarge Bot <eric+marge@anholt.net>
Mon, 16 Dec 2019 23:57:22 +0000 (23:57 +0000)
We really need -Werror in CI.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3124>

src/freedreno/vulkan/tu_cmd_buffer.c

index 956f2234fa3a7d94a40904cdf57939d57ca30772..f267f6ffeb2cf8bf37c00517d3688be058ccd73e 100644 (file)
@@ -2326,7 +2326,6 @@ tu_CmdBeginRenderPass(VkCommandBuffer commandBuffer,
    TU_FROM_HANDLE(tu_cmd_buffer, cmd, commandBuffer);
    TU_FROM_HANDLE(tu_render_pass, pass, pRenderPassBegin->renderPass);
    TU_FROM_HANDLE(tu_framebuffer, fb, pRenderPassBegin->framebuffer);
-   VkResult result;
 
    cmd->state.pass = pass;
    cmd->state.subpass = pass->subpasses;