diff playtree.c @ 31320:fd78d436d30f

Remove unused function pt_add_gui_file().
author diego
date Sun, 13 Jun 2010 17:15:55 +0000
parents 9553ab9ca41c
children 253f7779fe98
line wrap: on
line diff
--- a/playtree.c	Sun Jun 13 17:10:52 2010 +0000
+++ b/playtree.c	Sun Jun 13 17:15:55 2010 +0000
@@ -939,20 +939,6 @@
   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;