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. --- unix/tx/TXLabel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix/tx/TXLabel.h') diff --git a/unix/tx/TXLabel.h b/unix/tx/TXLabel.h index 3d5200d6..aba798cb 100644 --- a/unix/tx/TXLabel.h +++ b/unix/tx/TXLabel.h @@ -108,7 +108,7 @@ private: } while (text.buf[i] != 0); } - virtual void handleEvent(TXWindow* w, XEvent* ev) { + virtual void handleEvent(TXWindow* /*w*/, XEvent* ev) { switch (ev->type) { case Expose: paint(); -- cgit v1.2.3