Drop unused attributes of actually used function parameters

These parameters were once unused, but not anymore.
main
Christian Göttsche 5 years ago
parent 7b293dc3e2
commit 9c437ceb0c
  1. 2
      Meter.c
  2. 2
      linux/SELinuxMeter.c

@ -153,7 +153,7 @@ ListItem* Meter_toListItem(const Meter* this, bool moving) {
/* ---------- TextMeterMode ---------- */
static void TextMeterMode_draw(Meter* this, int x, int y, ATTR_UNUSED int w) {
static void TextMeterMode_draw(Meter* this, int x, int y, int w) {
attrset(CRT_colors[METER_TEXT]);
mvaddnstr(y, x, this->caption, w - 1);
attrset(CRT_colors[RESET_COLOR]);

@ -69,7 +69,7 @@ static bool isSelinuxEnforcing(void) {
return !!enforce;
}
static void SELinuxMeter_updateValues(ATTR_UNUSED Meter* this) {
static void SELinuxMeter_updateValues(Meter* this) {
enabled = isSelinuxEnabled();
enforcing = isSelinuxEnforcing();

Loading…
Cancel
Save