diff --git a/src/kernel/xmlreader.c b/src/kernel/xmlreader.c index 6491daf20..d89259317 100644 --- a/src/kernel/xmlreader.c +++ b/src/kernel/xmlreader.c @@ -361,7 +361,6 @@ static int parse_calendar(xmlDocPtr doc) xpathCalendars = xmlXPathEvalExpression(BAD_CAST "/eressea/calendar", xpath); nsetCalendars = xpathCalendars->nodesetval; - months_per_year = 0; if (nsetCalendars != NULL && nsetCalendars->nodeNr != 0) { int c; for (c = 0; c != nsetCalendars->nodeNr; ++c) {