summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2018-03-11 18:37:08 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-11 18:37:08 +0100
commita6707276679bbb660b9ca808f183511fbc35df61 (patch)
tree8732da6f29074eefb7566d95d07f09a6ee0ed159
parentfbe7d9926bbdafdfb42609aa614ba50a172f3150 (diff)
sfeed_tail: remove unused variables
-rw-r--r--sfeed_tail.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfeed_tail.c b/sfeed_tail.c
index 18ccb3a..088d70f 100644
--- a/sfeed_tail.c
+++ b/sfeed_tail.c
@@ -63,11 +63,10 @@ static void
printfeed(FILE *fp, const char *feedname)
{
struct line *add, search;
- char *fields[FieldLast], *s;
+ char *fields[FieldLast];
ssize_t linelen;
time_t parsedtime;
struct tm *tm;
- int i;
while ((linelen = getline(&line, &linesize, fp)) > 0) {
if (line[linelen - 1] == '\n')