Add modernize-redundant-void-arg
Enable this check and fix the failures.
Change-Id: I89b13daf1161be40564367562bb9c8c0c459e1d0
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/HwmonTempSensor.cpp b/src/HwmonTempSensor.cpp
index c7449d5..dd95c3b 100644
--- a/src/HwmonTempSensor.cpp
+++ b/src/HwmonTempSensor.cpp
@@ -117,7 +117,7 @@
objServer.remove_interface(association);
}
-void HwmonTempSensor::setupRead(void)
+void HwmonTempSensor::setupRead()
{
if (!readingStateGood())
{
@@ -191,7 +191,7 @@
restartRead();
}
-void HwmonTempSensor::checkThresholds(void)
+void HwmonTempSensor::checkThresholds()
{
thresholds::checkThresholds(this);
}