Silence unused variable warnings

This commit is contained in:
twinaphex 2020-08-28 05:05:15 +02:00
parent 4d1cfa9c41
commit d02d9573ab
2 changed files with 0 additions and 5 deletions

View File

@ -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;

View File

@ -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)