mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Drop always true condition
The variable 'dir' is checked in line 645: if (!dir) return AC_ERROR;
This commit is contained in:
@ -681,8 +681,7 @@ static ACPresence procAcpiCheck(void) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (dir)
|
||||
closedir(dir);
|
||||
closedir(dir);
|
||||
|
||||
return isOn;
|
||||
}
|
||||
|
Reference in New Issue
Block a user