From 98f4e72f1ae492771a755bf86c88da7c21f20720 Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Fri, 5 Jan 2018 23:30:41 +0900 Subject: removed most compiler warnings --- win32/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/main.c') diff --git a/win32/main.c b/win32/main.c index fa7d7e2..946c7db 100644 --- a/win32/main.c +++ b/win32/main.c @@ -316,6 +316,7 @@ static void toggle_2x(HWND hwnd) { } static bool proc_key(UINT vk, bool down, int repeat) { + (void)repeat; if (down) { if (VK_F1 <= vk && vk <= VK_F12) { if (GetKeyState(VK_CONTROL) & 0x8000U) { @@ -682,6 +683,8 @@ static void on_key(HWND hwnd, UINT vk, BOOL down, int repeat, UINT scan) { } static void on_activate(HWND hwnd, bool activate, HWND targetwnd, WINBOOL state) { + (void)targetwnd; + (void)state; if (activate) g_currentdlg = hwnd; else g_currentdlg = 0; } -- cgit v1.2.3