Drop unused attributes of actually used function parameters

These parameters were once unused, but not anymore.
This commit is contained in:
Christian Göttsche 2021-03-24 19:27:03 +01:00
parent 7b293dc3e2
commit 9c437ceb0c
2 changed files with 2 additions and 2 deletions

View File

@ -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]);

View File

@ -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();