diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-05 23:30:41 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2018-01-05 23:30:41 +0900 |
commit | 98f4e72f1ae492771a755bf86c88da7c21f20720 (patch) | |
tree | b1c85eadbe23432f956bc3377ea88a8449672175 /win32/main.c | |
parent | df6915f07e6cc13600a750b4fb4a8adf482b45f2 (diff) |
removed most compiler warnings
Diffstat (limited to 'win32/main.c')
-rw-r--r-- | win32/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |