From 246b86d7391975fa685ae994997f936f1b703b75 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Mon, 13 Dec 2021 13:37:34 -0800 Subject: [PATCH] Reduce build warnings Fixes #1699 --- src/ir_Kelon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ir_Kelon.cpp b/src/ir_Kelon.cpp index 39b61744e..714b5d860 100644 --- a/src/ir_Kelon.cpp +++ b/src/ir_Kelon.cpp @@ -440,7 +440,7 @@ stdAc::fanspeed_t IRKelonAc::toCommonFanSpeed(const uint8_t speed) { /// Convert the internal A/C object state to it's stdAc::state_t equivalent. /// @return A stdAc::state_t containing the current settings. stdAc::state_t IRKelonAc::toCommon(const stdAc::state_t *prev) const { - stdAc::state_t result{}; + stdAc::state_t result; result.protocol = decode_type_t::KELON; result.model = -1; // Unused. result.mode = toCommonMode(getMode());