Enable readability-redundant-member-init check (#3097)

This commit is contained in:
Oxan van Leeuwen
2022-01-23 20:34:43 +13:00
committed by GitHub
parent a31700e16f
commit 7da12a878f
22 changed files with 22 additions and 30 deletions
@@ -10,8 +10,7 @@ namespace modbus_controller {
class ModbusSwitch : public Component, public switch_::Switch, public SensorItem {
public:
ModbusSwitch(ModbusRegisterType register_type, uint16_t start_address, uint8_t offset, uint32_t bitmask,
uint8_t skip_updates, bool force_new_range)
: Component(), switch_::Switch() {
uint8_t skip_updates, bool force_new_range) {
this->register_type = register_type;
this->start_address = start_address;
this->offset = offset;