Skip to content

Commit

Permalink
Remove unnecessary cast for numberOfPendingPresets
Browse files Browse the repository at this point in the history
  • Loading branch information
nivi-apple committed Aug 5, 2024
1 parent e1e4ee6 commit 9912039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/clusters/thermostat-server/thermostat-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ uint8_t CountUpdatedPresetsAfterApplyingPendingPresets(Delegate * delegate)
numberOfPendingPresets++;
}

return static_cast<uint8_t>(numberOfPendingPresets);
return numberOfPendingPresets;
}

/**
Expand Down

0 comments on commit 9912039

Please sign in to comment.