sfeed_curses

[fork] sfeed (atom feed) reader
Log | Files | Refs | README | LICENSE

commit c5d3468c5ca69c9fde7608f22376b9d92f4f1e2e
parent 0198af1b49cea77d4090c38e34b0854075a23d14
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 29 Jul 2020 21:18:56 +0200

remove an unused variable and a unneeded line

Diffstat:
Msfeed_curses.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/sfeed_curses.c b/sfeed_curses.c @@ -1088,7 +1088,6 @@ feed_load(struct feed *f, FILE *fp) static struct item *items = NULL; static size_t nitems = 0; struct pane *p; - struct row *row; size_t i; for (i = 0; i < nitems; i++) { @@ -1507,7 +1506,6 @@ item_row_format(struct pane *p, struct row *row) tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min, item->fields[FieldTitle]); } else { - localtime_r(&(item->timestamp), &tm); snprintf(text, sizeof(text), "%c %s", item->fields[FieldEnclosure][0] ? '@' : ' ', item->fields[FieldTitle]);