Commit 0cef084b authored by Rafaël Carré's avatar Rafaël Carré

directory access: avoid useless strdup

parent 8579634b
......@@ -165,7 +165,7 @@ int DirInit (access_t *p_access, DIR *handle)
p_sys->ignored_exts = var_InheritString (p_access, "ignore-filetypes");
p_sys->header = true;
p_sys->i_item_count = 0;
p_sys->xspf_ext = strdup ("");
p_sys->xspf_ext = NULL;
/* Handle mode */
char *psz = var_InheritString (p_access, "recursive");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment