mirror of https://github.com/xzeldon/htop.git
Drop redundant return statements
This commit is contained in:
parent
6db2d52261
commit
7ae967a04b
|
@ -56,8 +56,6 @@ static void BatteryMeter_updateValues(Meter * this, char *buffer, int len) {
|
||||||
} else {
|
} else {
|
||||||
xSnprintf(buffer, len, unknownText, percent);
|
xSnprintf(buffer, len, unknownText, percent);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MeterClass BatteryMeter_class = {
|
MeterClass BatteryMeter_class = {
|
||||||
|
|
|
@ -506,7 +506,6 @@ static void LinuxProcessList_readOpenVZData(LinuxProcess* process, const char* d
|
||||||
"%*32u %*32u %32u %32u",
|
"%*32u %*32u %32u %32u",
|
||||||
&process->vpid, &process->ctid);
|
&process->vpid, &process->ctid);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue