diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-05 16:56:14 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-01-05 16:56:14 +0100 |
commit | 27262aeabf3e4d8e29d8f64dbbe48441b80ce387 (patch) | |
tree | 67c0e1be485483604ffbcd1fca97e425a9f34886 /win/vncconfig/Sharing.h | |
parent | 4701b05b7829f355c7dd4a78f0e194f232872f76 (diff) | |
parent | 7a36fb8ca702fdf6548d3a791896a161c94af5b4 (diff) | |
download | tigervnc-27262aeabf3e4d8e29d8f64dbbe48441b80ce387.tar.gz tigervnc-27262aeabf3e4d8e29d8f64dbbe48441b80ce387.zip |
Merge branch 'wextra' of https://github.com/CendioOssman/tigervnc
Diffstat (limited to 'win/vncconfig/Sharing.h')
-rw-r--r-- | win/vncconfig/Sharing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncconfig/Sharing.h b/win/vncconfig/Sharing.h index 872ae133..4dcb1db9 100644 --- a/win/vncconfig/Sharing.h +++ b/win/vncconfig/Sharing.h @@ -36,7 +36,7 @@ namespace rfb { setItemChecked(IDC_SHARE_ALWAYS, rfb::Server::alwaysShared); setItemChecked(IDC_SHARE_CLIENT, !(rfb::Server::neverShared || rfb::Server::alwaysShared)); } - bool onCommand(int id, int cmd) { + bool onCommand(int /*id*/, int /*cmd*/) { setChanged((isItemChecked(IDC_DISCONNECT_CLIENTS) != rfb::Server::disconnectClients) || (isItemChecked(IDC_SHARE_NEVER) != rfb::Server::neverShared) || (isItemChecked(IDC_SHARE_ALWAYS) != rfb::Server::alwaysShared)); |