changeset 30729:9553ab9ca41c

Remove unused static function play_tree_set_flag().
author cehoyos
date Sat, 27 Feb 2010 20:55:41 +0000
parents 3dd526b691bc
children f4fb7142e4c5
files playtree.c
diffstat 1 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/playtree.c	Sat Feb 27 20:52:06 2010 +0000
+++ b/playtree.c	Sat Feb 27 20:55:41 2010 +0000
@@ -414,20 +414,6 @@
 
 }
 
-// all children if deep < 0
-static void
-play_tree_set_flag(play_tree_t* pt, int flags , int deep) {
-  play_tree_t*  i;
-
-  pt->flags |= flags;
-
-  if(deep && pt->child) {
-    if(deep > 0) deep--;
-    for(i = pt->child ; i ; i = i->next)
-      play_tree_set_flag(i,flags,deep);
-  }
-}
-
 static void
 play_tree_unset_flag(play_tree_t* pt, int flags , int deep) {
   play_tree_t*  i;