diff --git a/gfx/common/vulkan_common.c b/gfx/common/vulkan_common.c index 5f7af42f14..3102e2e1c9 100644 --- a/gfx/common/vulkan_common.c +++ b/gfx/common/vulkan_common.c @@ -1006,7 +1006,6 @@ void vulkan_draw_triangles(vk_t *vk, const struct vk_draw_triangles *call) /* Upload descriptors */ { - unsigned i; VkDescriptorSet set; /* Upload UBO */ struct vk_buffer_range range; diff --git a/gfx/common/win32_common.c b/gfx/common/win32_common.c index 64d88a4d3c..eff98e9aad 100644 --- a/gfx/common/win32_common.c +++ b/gfx/common/win32_common.c @@ -1156,7 +1156,6 @@ LRESULT CALLBACK wnd_proc_d3d_dinput(HWND hwnd, UINT message, LRESULT CALLBACK wnd_proc_wgl_dinput(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) { - LRESULT ret; win32_common_state_t *g_win32 = (win32_common_state_t*)&win32_st; if (message == WM_CREATE) @@ -1174,7 +1173,6 @@ LRESULT CALLBACK wnd_proc_wgl_dinput(HWND hwnd, UINT message, LRESULT CALLBACK wnd_proc_wgl_common(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) { - LRESULT ret; win32_common_state_t *g_win32 = (win32_common_state_t*)&win32_st; if (message == WM_CREATE) @@ -1230,7 +1228,6 @@ LRESULT CALLBACK wnd_proc_vk_common(HWND hwnd, UINT message, LRESULT CALLBACK wnd_proc_gdi_dinput(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) { - LRESULT ret; win32_common_state_t *g_win32 = (win32_common_state_t*)&win32_st; if (message == WM_CREATE) @@ -1279,7 +1276,6 @@ LRESULT CALLBACK wnd_proc_gdi_dinput(HWND hwnd, UINT message, LRESULT CALLBACK wnd_proc_gdi_common(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) { - LRESULT ret; win32_common_state_t *g_win32 = (win32_common_state_t*)&win32_st; if (message == WM_CREATE)