]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
dvr timerec: remove unused variable
authorJaroslav Kysela <perex@perex.cz>
Thu, 2 Oct 2014 18:18:31 +0000 (20:18 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 2 Oct 2014 18:18:31 +0000 (20:18 +0200)
src/dvr/dvr_timerec.c

index 40396f32d1179dc1095a4d05da6788b1bfcdfaa3..c819f37b95554cc60ee4851f0215cc344afd8003 100644 (file)
@@ -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