aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncconfig
diff options
context:
space:
mode:
Diffstat (limited to 'unix/vncconfig')
-rw-r--r--unix/vncconfig/QueryConnectDialog.cxx2
-rw-r--r--unix/vncconfig/vncconfig.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/unix/vncconfig/QueryConnectDialog.cxx b/unix/vncconfig/QueryConnectDialog.cxx
index 31302d2d..e13af34b 100644
--- a/unix/vncconfig/QueryConnectDialog.cxx
+++ b/unix/vncconfig/QueryConnectDialog.cxx
@@ -74,7 +74,7 @@ void QueryConnectDialog::buttonActivate(TXButton* b) {
callback->queryRejected();
}
-bool QueryConnectDialog::handleTimeout(rfb::Timer* t) {
+bool QueryConnectDialog::handleTimeout(rfb::Timer* /*t*/) {
if (timeUntilReject-- == 0) {
unmap();
callback->queryTimedOut();
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);
}