summaryrefslogtreecommitdiff
path: root/sfeed_frames.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2015-08-16 20:09:59 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2015-08-16 20:09:59 +0200
commit29fa81e623c0e8787fcdc7a6109c3a24b562564a (patch)
treebcf15cea35606e8e55cebc03d76fad69b89d4bc7 /sfeed_frames.c
parentc4573f3289e429b939da0b5ac6d4a950ce72466a (diff)
code-style + no need to zero static variables
Diffstat (limited to 'sfeed_frames.c')
-rw-r--r--sfeed_frames.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index 302dd13..28bfa61 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -15,14 +15,12 @@
#include "util.h"
-static char *line = NULL;
-size_t linesize = 0;
-
+static struct feed **feeds;
+static char *line;
+static size_t linesize;
static struct utimbuf contenttime;
static time_t comparetime;
-static unsigned long totalnew = 0;
-
-static struct feed **feeds = NULL;
+static unsigned long totalnew;
/* Unescape / decode fields printed by string_print_encoded()
* "\\" to "\", "\t", to TAB, "\n" to newline. Unrecognised escape sequences