summaryrefslogtreecommitdiffstats
path: root/CPUMeter.c
diff options
context:
space:
mode:
authorRedha Gouicem <redha.gouicem@gmail.com>2020-08-31 13:29:24 +0200
committerRedha Gouicem <redha.gouicem@gmail.com>2020-08-31 13:29:24 +0200
commit293e3a2931c267441170289e9d717fe43d51b390 (patch)
treee11ed49512c962c29555a35bbaf448145debf67e /CPUMeter.c
parent3ef5df25bc7178d49a4e18eb6b62f48811187def (diff)
remove unused variable
Diffstat (limited to 'CPUMeter.c')
-rw-r--r--CPUMeter.c1
1 files changed, 0 insertions, 1 deletions
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");

© 2014-2024 Faster IT GmbH | imprint | privacy policy