From f1264ccc93660184d8de771cc555b16805b3c8fb Mon Sep 17 00:00:00 2001 From: Bernie Hackett Date: Fri, 14 Mar 2014 09:13:46 -0700 Subject: [PATCH] Remove unused constant. Silences a clang warning. --- bson/time64.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/bson/time64.c b/bson/time64.c index 5421dc975..dcc01ad35 100644 --- a/bson/time64.c +++ b/bson/time64.c @@ -103,17 +103,6 @@ static const int safe_years_low[SOLAR_CYCLE_LENGTH] = { 1992, 1993, 1994, 1995, }; -/* This isn't used, but it's handy to look at */ -static const int dow_year_start[SOLAR_CYCLE_LENGTH] = { - 5, 0, 1, 2, /* 0 2016 - 2019 */ - 3, 5, 6, 0, /* 4 */ - 1, 3, 4, 5, /* 8 1996 - 1998, 1971*/ - 6, 1, 2, 3, /* 12 1972 - 1975 */ - 4, 6, 0, 1, /* 16 */ - 2, 4, 5, 6, /* 20 2036, 2037, 2010, 2011 */ - 0, 2, 3, 4 /* 24 2012, 2013, 2014, 2015 */ -}; - /* Let's assume people are going to be looking for dates in the future. Let's provide some cheats so you can skip ahead. This has a 4x speed boost when near 2008.