Merge pull request #1595 from sphericalice/patch-3

Remove unneeded brackets in GetWeekCount
This commit is contained in:
GriffinR
2022-01-08 17:44:25 -05:00
committed by GitHub
+1 -2
View File
@@ -932,9 +932,8 @@ u16 GetWeekCount(void)
{ {
u16 weekCount = gLocalTime.days / 7; u16 weekCount = gLocalTime.days / 7;
if (weekCount > 9999) if (weekCount > 9999)
{
weekCount = 9999; weekCount = 9999;
}
return weekCount; return weekCount;
} }