Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
dvr config: remove dead code (coverity)
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 871ad60 commit 7068a60
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/dvr/dvr_config.c
Expand Up @@ -137,10 +137,7 @@ dvr_config_create(const char *name, const char *uuid, htsmsg_t *conf)
}

cfg->dvr_enabled = 1;
if (name)
cfg->dvr_config_name = strdup(name);
else
cfg->dvr_config_name = strdup("");
cfg->dvr_config_name = strdup(name);
cfg->dvr_retention_days = 31;
cfg->dvr_mc = MC_MATROSKA;
cfg->dvr_tag_files = 1;
Expand Down

0 comments on commit 7068a60

Please sign in to comment.