aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/TightDecoder.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 /common/rfb/TightDecoder.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 'common/rfb/TightDecoder.cxx')
-rw-r--r--common/rfb/TightDecoder.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/rfb/TightDecoder.cxx b/common/rfb/TightDecoder.cxx
index ce01104e..69971dbc 100644
--- a/common/rfb/TightDecoder.cxx
+++ b/common/rfb/TightDecoder.cxx
@@ -199,13 +199,13 @@ bool TightDecoder::readRect(const Rect& r, rdr::InStream* is,
return true;
}
-bool TightDecoder::doRectsConflict(const Rect& rectA,
+bool TightDecoder::doRectsConflict(const Rect& /*rectA*/,
const void* bufferA,
size_t buflenA,
- const Rect& rectB,
+ const Rect& /*rectB*/,
const void* bufferB,
size_t buflenB,
- const ServerParams& server)
+ const ServerParams& /*server*/)
{
rdr::U8 comp_ctl_a, comp_ctl_b;