From 293e3a2931c267441170289e9d717fe43d51b390 Mon Sep 17 00:00:00 2001 From: Redha Gouicem Date: Mon, 31 Aug 2020 13:29:24 +0200 Subject: [PATCH] remove unused variable --- CPUMeter.c | 1 - 1 file changed, 1 deletion(-) diff --git a/CPUMeter.c b/CPUMeter.c index e09769cc..8328150d 100644 --- a/CPUMeter.c +++ b/CPUMeter.c @@ -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");