From e297f88392be3bfcd594d447e9d1fb83638d6655 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Mon, 14 Mar 2011 16:05:37 +0000 Subject: [PATCH] Fixed compiler warning SVN revision: 2402 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 86699b38..a008f01c 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -18910,7 +18910,7 @@ time_t convert_date(char *date_string) time_t convert_datetime(char *date_string) { /* convert date string in MM/DD/YY h:m:s AM/PM or DD.MM.YY hh:m:s format into Unix time */ - int year, month, day, hour, min, sec; + int year, month, day, hour, min=0, sec=0; char *p, str[256]; struct tm tms; time_t ltime;