mirror of https://github.com/xzeldon/htop.git
Drop unused attributes of actually used function parameters
These parameters were once unused, but not anymore.
This commit is contained in:
parent
7b293dc3e2
commit
9c437ceb0c
2
Meter.c
2
Meter.c
|
@ -153,7 +153,7 @@ ListItem* Meter_toListItem(const Meter* this, bool moving) {
|
||||||
|
|
||||||
/* ---------- TextMeterMode ---------- */
|
/* ---------- 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]);
|
attrset(CRT_colors[METER_TEXT]);
|
||||||
mvaddnstr(y, x, this->caption, w - 1);
|
mvaddnstr(y, x, this->caption, w - 1);
|
||||||
attrset(CRT_colors[RESET_COLOR]);
|
attrset(CRT_colors[RESET_COLOR]);
|
||||||
|
|
|
@ -69,7 +69,7 @@ static bool isSelinuxEnforcing(void) {
|
||||||
return !!enforce;
|
return !!enforce;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SELinuxMeter_updateValues(ATTR_UNUSED Meter* this) {
|
static void SELinuxMeter_updateValues(Meter* this) {
|
||||||
enabled = isSelinuxEnabled();
|
enabled = isSelinuxEnabled();
|
||||||
enforcing = isSelinuxEnforcing();
|
enforcing = isSelinuxEnforcing();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue