dvr config: remove dead code (coverity)
This commit is contained in:
parent
871ad60b54
commit
7068a607c3
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue