X-Git-Url: https://git.tokkee.org/?p=pkg-rrdtool.git;a=blobdiff_plain;f=src%2Frrd_parsetime.c;h=a5f1db8910bdc4755869de1cbcbf01c11fa34122;hp=1b59f454252a851a72f6cf0d2e3a4fe433393f73;hb=6e58e96d05b3300ff189d192d490da081d5fdffa;hpb=23a63bef251017be5fd4f09db2be10575e3df59e diff --git a/src/rrd_parsetime.c b/src/rrd_parsetime.c index 1b59f45..a5f1db8 100644 --- a/src/rrd_parsetime.c +++ b/src/rrd_parsetime.c @@ -687,7 +687,6 @@ static char *day( { /* using time_t seems to help portability with 64bit oses */ time_t mday = 0, wday, mon, year = ptv->tm.tm_year; - int tlen; switch (sc_tokid) { case YESTERDAY: @@ -756,7 +755,6 @@ static char *day( case NUMBER: /* get numeric , MM/DD/[YY]YY, or DD.MM.[YY]YY */ - tlen = strlen(sc_token); mon = atol(sc_token); if (mon > 10 * 365 * 24 * 60 * 60) { ptv->tm = *localtime(&mon);