aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/SDesktop.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rfb/SDesktop.h')
-rw-r--r--common/rfb/SDesktop.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/common/rfb/SDesktop.h b/common/rfb/SDesktop.h
index b4104ea7..6d2a5dd8 100644
--- a/common/rfb/SDesktop.h
+++ b/common/rfb/SDesktop.h
@@ -84,9 +84,9 @@ namespace rfb {
// setScreenLayout() requests to reconfigure the framebuffer and/or
// the layout of screens.
- virtual unsigned int setScreenLayout(int __unused_attr fb_width,
- int __unused_attr fb_height,
- const ScreenSet& __unused_attr layout) {
+ virtual unsigned int setScreenLayout(int /*fb_width*/,
+ int /*fb_height*/,
+ const ScreenSet& /*layout*/) {
return resultProhibited;
}
@@ -104,14 +104,14 @@ namespace rfb {
// handleClipboardAnnounce() is called to indicate a change in the
// clipboard on a client. Call VNCServer::requestClipboard() to
// access the actual data.
- virtual void handleClipboardAnnounce(bool __unused_attr available) {}
+ virtual void handleClipboardAnnounce(bool /*available*/) {}
// handleClipboardData() is called when a client has sent over
// the clipboard data as a result of a previous call to
// VNCServer::requestClipboard(). Note that this function might
// never be called if the clipboard data was no longer available
// when the client received the request.
- virtual void handleClipboardData(const char* __unused_attr data) {}
+ virtual void handleClipboardData(const char* /*data*/) {}
protected:
virtual ~SDesktop() {}
@@ -149,7 +149,7 @@ namespace rfb {
server = 0;
}
virtual void queryConnection(network::Socket* sock,
- const char* userName) {
+ const char* /*userName*/) {
server->approveConnection(sock, true, NULL);
}