Skip to content

Commit

Permalink
Reduce build warnings (#1700)
Browse files Browse the repository at this point in the history
Fixes #1699
  • Loading branch information
henrygab committed Dec 14, 2021
1 parent 81da75d commit 082bf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ir_Kelon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 082bf30

Please sign in to comment.