aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncconfig/vncconfig.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-04 16:18:46 +0100
committerPierre Ossman <ossman@cendio.se>2023-01-04 19:17:28 +0100
commit3a1c46ff751a96dfdc721190a93be3954929725e (patch)
treeb4b60c322545aaee22506f1071048ad5a604b123 /unix/vncconfig/vncconfig.cxx
parent225e1516f9cc5d2318e9a9cd7b84b69b0f150e43 (diff)
downloadtigervnc-3a1c46ff751a96dfdc721190a93be3954929725e.tar.gz
tigervnc-3a1c46ff751a96dfdc721190a93be3954929725e.zip
Explicitly mark unused parameters
This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
Diffstat (limited to 'unix/vncconfig/vncconfig.cxx')
-rw-r--r--unix/vncconfig/vncconfig.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/vncconfig/vncconfig.cxx b/unix/vncconfig/vncconfig.cxx
index 276d0e62..c15d91f4 100644
--- a/unix/vncconfig/vncconfig.cxx
+++ b/unix/vncconfig/vncconfig.cxx
@@ -110,7 +110,7 @@ public:
// handleEvent()
- virtual void handleEvent(TXWindow* w, XEvent* ev) {
+ virtual void handleEvent(TXWindow* /*w*/, XEvent* ev) {
if (ev->type == vncExtEventBase + VncExtQueryConnectNotify) {
vlog.debug("query connection event");
if (queryConnectDialog)
@@ -134,7 +134,7 @@ public:
}
// TXDeleteWindowCallback method
- virtual void deleteWindow(TXWindow* w) {
+ virtual void deleteWindow(TXWindow* /*w*/) {
exit(1);
}