Fixed warning for uninitialized variable.

This commit is contained in:
Vincent Richard 2006-06-23 21:16:21 +00:00
parent 2791e5d41e
commit edca17af10

View File

@ -279,7 +279,7 @@ const int datetimeUtils::getWeekOfYear(const int year, const int month, const in
const int Weekday = 1 + ((H - 1) % 7);
// 7. Find if Y M D falls in YearNumber Y-1, WeekNumber 52 or 53
int YearNumber, WeekNumber;
int YearNumber = 0, WeekNumber = 0;
if (DayOfYearNumber <= (8 - Jan1Weekday) && Jan1Weekday > 4)
{