X-Git-Url: https://git.tokkee.org/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_parsetime.c;h=d8b96f35d22d187a7625ee13cd74226a6bc64138;hp=d854dfbc971123834d26aee45d682873546624dc;hb=40a5de43d34b3d692c5dec999fc23ce893573d00;hpb=b50befc7e88aabb273e0877316ad56090fd1bbfb diff --git a/src/rrd_parsetime.c b/src/rrd_parsetime.c index d854dfb..d8b96f3 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);