diff options
author | Pierre Ossman <ossman@cendio.se> | 2023-01-04 16:18:46 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2023-01-04 19:17:28 +0100 |
commit | 3a1c46ff751a96dfdc721190a93be3954929725e (patch) | |
tree | b4b60c322545aaee22506f1071048ad5a604b123 /common/rfb/H264Decoder.cxx | |
parent | 225e1516f9cc5d2318e9a9cd7b84b69b0f150e43 (diff) | |
download | tigervnc-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/H264Decoder.cxx')
-rw-r--r-- | common/rfb/H264Decoder.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/common/rfb/H264Decoder.cxx b/common/rfb/H264Decoder.cxx index 1341366d..92231fcd 100644 --- a/common/rfb/H264Decoder.cxx +++ b/common/rfb/H264Decoder.cxx @@ -65,8 +65,10 @@ H264DecoderContext* H264Decoder::findContext(const Rect& r) return NULL; } -bool H264Decoder::readRect(const Rect& r, rdr::InStream* is, - const ServerParams& server, rdr::OutStream* os) +bool H264Decoder::readRect(const Rect& /*r*/, + rdr::InStream* is, + const ServerParams& /*server*/, + rdr::OutStream* os) { rdr::U32 len; @@ -92,7 +94,8 @@ bool H264Decoder::readRect(const Rect& r, rdr::InStream* is, } void H264Decoder::decodeRect(const Rect& r, const void* buffer, - size_t buflen, const ServerParams& server, + size_t buflen, + const ServerParams& /*server*/, ModifiablePixelBuffer* pb) { rdr::MemInStream is(buffer, buflen); |