remove unused variable

This commit is contained in:
Redha Gouicem 2020-08-31 13:29:24 +02:00
parent 3ef5df25bc
commit 293e3a2931

View File

@ -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");