From 3a1c46ff751a96dfdc721190a93be3954929725e Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 4 Jan 2023 16:18:46 +0100 Subject: 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. --- vncviewer/Surface_Win32.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vncviewer/Surface_Win32.cxx') diff --git a/vncviewer/Surface_Win32.cxx b/vncviewer/Surface_Win32.cxx index 39692452..d438fa12 100644 --- a/vncviewer/Surface_Win32.cxx +++ b/vncviewer/Surface_Win32.cxx @@ -93,7 +93,9 @@ void Surface::draw(Surface* dst, int src_x, int src_y, int x, int y, int w, int DeleteDC(dstdc); } -void Surface::blend(int src_x, int src_y, int x, int y, int w, int h, int a) +void Surface::blend(int /*src_x*/, int /*src_y*/, + int /*x*/, int /*y*/, int /*w*/, int /*h*/, + int /*a*/) { // Compositing doesn't work properly for window DC:s assert(false); -- cgit v1.2.3