mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
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 ---------- */
|
||||
|
||||
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…
Reference in New Issue
Block a user