summaryrefslogtreecommitdiffstats
path: root/playtree.c
diff options
context:
space:
mode:
Diffstat (limited to 'playtree.c')
-rw-r--r--playtree.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/playtree.c b/playtree.c
index ab95dfeda3..c8a3cdf916 100644
--- a/playtree.c
+++ b/playtree.c
@@ -414,20 +414,6 @@ play_tree_set_params_from(play_tree_t* dest,play_tree_t* src) {
}
-// 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;