mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-19 08:25:45 +03:00
remove unused variable
This commit is contained in:
parent
3ef5df25bc
commit
293e3a2931
@ -66,7 +66,6 @@ static void CPUMeter_updateValues(Meter* this, char* buffer, int size) {
|
|||||||
double percent = Platform_setCPUValues(this, cpu);
|
double percent = Platform_setCPUValues(this, cpu);
|
||||||
if (this->pl->settings->showCPUFrequency) {
|
if (this->pl->settings->showCPUFrequency) {
|
||||||
double cpuFrequency = this->values[CPU_METER_FREQUENCY];
|
double cpuFrequency = this->values[CPU_METER_FREQUENCY];
|
||||||
char unit = 'M';
|
|
||||||
char cpuFrequencyBuffer[16];
|
char cpuFrequencyBuffer[16];
|
||||||
if (cpuFrequency < 0) {
|
if (cpuFrequency < 0) {
|
||||||
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "N/A");
|
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "N/A");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user