summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-28 12:28:17 +0200
committercgzones <cgzones@googlemail.com>2020-09-29 10:44:42 +0200
commit7ae967a04b7a05ce1f3b77035ba06be904ff6b0d (patch)
treeb655e4460d00109cd38bef87b771d430fab9f440
parent6db2d52261d676a378625a24c307fa718025bc5f (diff)
Drop redundant return statements
-rw-r--r--BatteryMeter.c2
-rw-r--r--linux/LinuxProcessList.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/BatteryMeter.c b/BatteryMeter.c
index 733298a1..c43bbe5f 100644
--- a/BatteryMeter.c
+++ b/BatteryMeter.c
@@ -56,8 +56,6 @@ static void BatteryMeter_updateValues(Meter * this, char *buffer, int len) {
} else {
xSnprintf(buffer, len, unknownText, percent);
}
-
- return;
}
MeterClass BatteryMeter_class = {
diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c
index e984735b..1e472aff 100644
--- a/linux/LinuxProcessList.c
+++ b/linux/LinuxProcessList.c
@@ -506,7 +506,6 @@ static void LinuxProcessList_readOpenVZData(LinuxProcess* process, const char* d
"%*32u %*32u %32u %32u",
&process->vpid, &process->ctid);
fclose(file);
- return;
}
#endif

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