Remove unused variables mdays, months, days, and DateStyle.
This commit is contained in:
parent
b27c09b25f
commit
0974c154cb
|
@ -57,18 +57,9 @@ static int DecodeTimezone(char *str, int *tzp);
|
||||||
#define USE_DATE_CACHE 1
|
#define USE_DATE_CACHE 1
|
||||||
#define ROUND_ALL 0
|
#define ROUND_ALL 0
|
||||||
|
|
||||||
static const int mdays[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31, 0};
|
/* those two vars are useless, and not even initialized, so
|
||||||
|
|
||||||
static const char * const months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun",
|
|
||||||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec", NULL};
|
|
||||||
|
|
||||||
static const char * const days[] = {"Sunday", "Monday", "Tuesday", "Wednesday",
|
|
||||||
"Thursday", "Friday", "Saturday", NULL};
|
|
||||||
|
|
||||||
/* those three vars are useless, and not even initialized, so
|
|
||||||
* I'd rather remove them all (EPP)
|
* I'd rather remove them all (EPP)
|
||||||
*/
|
*/
|
||||||
int DateStyle;
|
|
||||||
bool EuroDates;
|
bool EuroDates;
|
||||||
int CTimeZone;
|
int CTimeZone;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue