From: Jaroslav Kysela Date: Thu, 2 Oct 2014 18:18:31 +0000 (+0200) Subject: dvr timerec: remove unused variable X-Git-Tag: v4.1~1219 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1efa31f323ff8b3ce2bf800990bfd3c21858de7;p=thirdparty%2Ftvheadend.git dvr timerec: remove unused variable --- diff --git a/src/dvr/dvr_timerec.c b/src/dvr/dvr_timerec.c index 40396f32d..c819f37b9 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