From 7e7243143f0bebbe6b851dcf713791d9703c4f0a Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 27 Nov 2010 23:48:38 +0100 Subject: Initialize time and file position to 0. --- parsing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsing.c b/parsing.c index c57a242..56922b1 100644 --- a/parsing.c +++ b/parsing.c @@ -370,8 +370,8 @@ void process() { } else printf("\tParsing %s\n", file->path); - long pos; - time_t time; + long pos = 0; + time_t time = 0; pg_channel_file_get(channel_id, file, &pos, &time); fseek(f, pos, SEEK_SET); localtime_r(&time, &now_global); -- cgit v1.2.3