aboutsummaryrefslogtreecommitdiff
path: root/win32/configdialog.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2018-01-05 23:30:41 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2018-01-05 23:30:41 +0900
commit98f4e72f1ae492771a755bf86c88da7c21f20720 (patch)
treeb1c85eadbe23432f956bc3377ea88a8449672175 /win32/configdialog.c
parentdf6915f07e6cc13600a750b4fb4a8adf482b45f2 (diff)
removed most compiler warnings
Diffstat (limited to 'win32/configdialog.c')
-rw-r--r--win32/configdialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/configdialog.c b/win32/configdialog.c
index 82ca5b5..3d15220 100644
--- a/win32/configdialog.c
+++ b/win32/configdialog.c
@@ -104,6 +104,7 @@ static LRESULT groupbox_wndproc(
}
static void on_destroy(HWND hwnd) {
+ (void)hwnd;
DestroyWindow(g.radio_ppz8_none);
DestroyWindow(g.radio_ppz8_linear);
DestroyWindow(g.radio_ppz8_sinc);
@@ -130,6 +131,8 @@ static void update_ssg_mix(void) {
}
static void on_command(HWND hwnd, int id, HWND hwnd_c, UINT code) {
+ (void)hwnd;
+ (void)hwnd_c;
switch (id) {
case ID_CHECK_FM_HIRES_SIN:
fmplayer_config.fm_hires_sin = Button_GetCheck(g.check_fm_hires_sin);
@@ -195,6 +198,7 @@ static void on_command(HWND hwnd, int id, HWND hwnd_c, UINT code) {
}
static bool on_create(HWND hwnd, const CREATESTRUCT *cs) {
+ (void)cs;
RECT wr;
wr.left = 0;
wr.right = WIN_W;
@@ -337,6 +341,8 @@ static bool on_create(HWND hwnd, const CREATESTRUCT *cs) {
}
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;
}