Remove unneeded brackets in GetWeekCount

This commit is contained in:
sphericalice 2022-01-08 20:39:45 +00:00 committed by GitHub
parent a837d1fe2c
commit 6a21c3f5f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -932,9 +932,8 @@ u16 GetWeekCount(void)
{
u16 weekCount = gLocalTime.days / 7;
if (weekCount > 9999)
{
weekCount = 9999;
}
return weekCount;
}