diff options
Diffstat (limited to 'playtree.c')
-rw-r--r-- | playtree.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/playtree.c b/playtree.c index 112cb7f1e4..c8a3cdf916 100644 --- a/playtree.c +++ b/playtree.c @@ -939,20 +939,6 @@ void pt_add_file(play_tree_t** ppt, char* filename) play_tree_set_params_from(entry,pt); } -void pt_add_gui_file(play_tree_t** ppt, char* path, char* file) -{ - char* wholename = malloc(strlen(path)+strlen(file)+2); - - if (wholename) - { - strcpy(wholename, path); - strcat(wholename, "/"); - strcat(wholename, file); - pt_add_file(ppt, wholename); - free(wholename); // As pt_add_file strdups it anyway! - } -} - void pt_iter_goto_head(play_tree_iter_t* iter) { iter->tree=iter->root; |