mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00: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);
|
||||
if (this->pl->settings->showCPUFrequency) {
|
||||
double cpuFrequency = this->values[CPU_METER_FREQUENCY];
|
||||
char unit = 'M';
|
||||
char cpuFrequencyBuffer[16];
|
||||
if (cpuFrequency < 0) {
|
||||
xSnprintf(cpuFrequencyBuffer, sizeof(cpuFrequencyBuffer), "N/A");
|
||||
|
Loading…
Reference in New Issue
Block a user