mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-14 04:54:37 +03:00
Mark several non-modified pointer variables const
This commit is contained in:
@ -754,7 +754,7 @@ static void Platform_Battery_getSysData(double* percent, ACPresence* isOnAC) {
|
||||
}
|
||||
|
||||
char* buf = buffer;
|
||||
char* line = NULL;
|
||||
const char* line;
|
||||
bool full = false;
|
||||
bool now = false;
|
||||
int fullSize = 0;
|
||||
|
Reference in New Issue
Block a user