mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-04 18:37:08 +03:00
Drop always true condition
The variable 'dir' is checked in line 645: if (!dir) return AC_ERROR;
This commit is contained in:
parent
3e8da0fcb6
commit
5ef3c26168
@ -681,8 +681,7 @@ static ACPresence procAcpiCheck(void) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dir)
|
closedir(dir);
|
||||||
closedir(dir);
|
|
||||||
|
|
||||||
return isOn;
|
return isOn;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user