aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/Dialog.cxx')
-rw-r--r--win/rfb_win32/Dialog.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/rfb_win32/Dialog.cxx b/win/rfb_win32/Dialog.cxx
index 08a5226c..369bea30 100644
--- a/win/rfb_win32/Dialog.cxx
+++ b/win/rfb_win32/Dialog.cxx
@@ -229,7 +229,7 @@ struct DLGTEMPLATEEX {
short cy;
};
-static int CALLBACK removeCtxtHelp(HWND hwnd, UINT message, LPARAM lParam) {
+static int CALLBACK removeCtxtHelp(HWND /*hwnd*/, UINT message, LPARAM lParam) {
if (message == PSCB_PRECREATE) {
// Remove the context-help style, to remove the titlebar ? button
// *** Nasty hack to cope with new & old dialog template formats...
@@ -280,6 +280,7 @@ bool PropSheet::showPropSheet(HWND owner, bool showApply, bool showCtxtHelp, boo
centerWindow(handle, owner);
plog.info("created %p", handle);
+ (void)capture;
#ifdef _DIALOG_CAPTURE
if (capture) {
plog.info("capturing \"%s\"", (const char*)CStr(title.buf));