aboutsummaryrefslogtreecommitdiffstats
path: root/ui/win32/file_dlg_win32.c
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2019-09-15 11:25:18 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-09-21 08:51:34 +0000
commit893a2d9c62e8dcc4fe0f43c47e01743136f55386 (patch)
treed42803e115b676b08c0a659df75390554d2b53b9 /ui/win32/file_dlg_win32.c
parent29be7f9d9a6452a63cb22c425ac1c56d1f99f10d (diff)
MSVC: Warn about unused formal parameters
Provide _U_ macro definition for Visual Studio. Change the way _U_ macro is ifdefed for some targets to allow Visual Studio to recognize it. Ping-Bug: 15832 Change-Id: Ic7ce145cbe9e8aa751d64c9c09ce8ba6c1bbbd30 Reviewed-on: https://code.wireshark.org/review/34530 Tested-by: Petri Dish Buildbot Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'ui/win32/file_dlg_win32.c')
-rw-r--r--ui/win32/file_dlg_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/win32/file_dlg_win32.c b/ui/win32/file_dlg_win32.c
index 6b82e8b7f2..6a8a9201e2 100644
--- a/ui/win32/file_dlg_win32.c
+++ b/ui/win32/file_dlg_win32.c
@@ -1477,7 +1477,7 @@ save_as_file_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
}
static UINT_PTR CALLBACK
-save_as_statstree_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param, LPARAM l_param) {
+save_as_statstree_hook_proc(HWND sf_hwnd, UINT msg, WPARAM w_param _U_, LPARAM l_param _U_) {
switch(msg) {
case WM_INITDIALOG: