Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: remove unused dvr_autorec_in_init variable
  • Loading branch information
perexg committed Sep 26, 2015
1 parent d844b34 commit d664503
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/dvr/dvr_autorec.c
Expand Up @@ -34,8 +34,6 @@
#include "epg.h"
#include "htsp_server.h"

static int dvr_autorec_in_init = 0;

struct dvr_autorec_entry_queue autorec_entries;

/**
Expand Down Expand Up @@ -1114,7 +1112,6 @@ dvr_autorec_init(void)
htsmsg_field_t *f;

TAILQ_INIT(&autorec_entries);
dvr_autorec_in_init = 1;
if((l = hts_settings_load("dvr/autorec")) != NULL) {
HTSMSG_FOREACH(f, l) {
if((c = htsmsg_get_map_by_field(f)) == NULL)
Expand All @@ -1123,7 +1120,6 @@ dvr_autorec_init(void)
}
htsmsg_destroy(l);
}
dvr_autorec_in_init = 0;
}

void
Expand Down

0 comments on commit d664503

Please sign in to comment.