diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-12-20 01:25:09 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2021-03-02 22:03:20 +0100 |
commit | df818b9904af6141e2f9ba4cfff51886b0dbdf52 (patch) | |
tree | 62ad8b9adb9fa16478315dc02645056941fa024b /Meter.c | |
parent | a40347e85b8163d00aad71ef562662d838aea32a (diff) |
Use ATTR_UNUSED instead of void casting
Diffstat (limited to 'Meter.c')
-rw-r--r-- | Meter.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -387,9 +387,7 @@ static void LEDMeterMode_drawDigit(int x, int y, int n) { mvaddstr(y+i, x, LEDMeterMode_digits[i * 10 + n]); } -static void LEDMeterMode_draw(Meter* this, int x, int y, int w) { - (void) w; - +static void LEDMeterMode_draw(Meter* this, int x, int y, ATTR_UNUSED int w) { #ifdef HAVE_LIBNCURSESW if (CRT_utf8) LEDMeterMode_digits = LEDMeterMode_digitsUtf8; |