From d1efa31f323ff8b3ce2bf800990bfd3c21858de7 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 2 Oct 2014 20:18:31 +0200 Subject: [PATCH] dvr timerec: remove unused variable --- src/dvr/dvr_timerec.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/dvr/dvr_timerec.c b/src/dvr/dvr_timerec.c index 40396f32..c819f37b 100644 --- a/src/dvr/dvr_timerec.c +++ b/src/dvr/dvr_timerec.c @@ -33,8 +33,6 @@ #include "dvr.h" #include "epg.h" -static int dvr_timerec_in_init = 0; - struct dvr_timerec_entry_queue timerec_entries; static gtimer_t dvr_timerec_timer; @@ -583,7 +581,6 @@ dvr_timerec_init(void) htsmsg_field_t *f; TAILQ_INIT(&timerec_entries); - dvr_timerec_in_init = 1; if((l = hts_settings_load("dvr/timerec")) != NULL) { HTSMSG_FOREACH(f, l) { if((c = htsmsg_get_map_by_field(f)) == NULL) @@ -592,7 +589,6 @@ dvr_timerec_init(void) } htsmsg_destroy(l); } - dvr_timerec_in_init = 0; } void