Skip to content

Commit f1264cc

Browse files
committed
Remove unused constant.
Silences a clang warning.
1 parent f1637f1 commit f1264cc

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

bson/time64.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,17 +103,6 @@ static const int safe_years_low[SOLAR_CYCLE_LENGTH] = {
103103
1992, 1993, 1994, 1995,
104104
};
105105

106-
/* This isn't used, but it's handy to look at */
107-
static const int dow_year_start[SOLAR_CYCLE_LENGTH] = {
108-
5, 0, 1, 2, /* 0 2016 - 2019 */
109-
3, 5, 6, 0, /* 4 */
110-
1, 3, 4, 5, /* 8 1996 - 1998, 1971*/
111-
6, 1, 2, 3, /* 12 1972 - 1975 */
112-
4, 6, 0, 1, /* 16 */
113-
2, 4, 5, 6, /* 20 2036, 2037, 2010, 2011 */
114-
0, 2, 3, 4 /* 24 2012, 2013, 2014, 2015 */
115-
};
116-
117106
/* Let's assume people are going to be looking for dates in the future.
118107
Let's provide some cheats so you can skip ahead.
119108
This has a 4x speed boost when near 2008.

0 commit comments

Comments
 (0)