Skip to content

Commit 9912039

Browse files
committedAug 5, 2024
Remove unnecessary cast for numberOfPendingPresets
1 parent e1e4ee6 commit 9912039

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/clusters/thermostat-server/thermostat-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ uint8_t CountUpdatedPresetsAfterApplyingPendingPresets(Delegate * delegate)
356356
numberOfPendingPresets++;
357357
}
358358

359-
return static_cast<uint8_t>(numberOfPendingPresets);
359+
return numberOfPendingPresets;
360360
}
361361

362362
/**

0 commit comments

Comments
 (0)