summaryrefslogtreecommitdiffstats
path: root/playtree.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-10 02:14:30 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-03-10 02:35:02 +0200
commitbc1d0ca37d9bdfd69a945043650e0246ffeb5f94 (patch)
tree8269c9cbc1df72afb5715b77669698a0781f6250 /playtree.c
parentf7cc4152f7c55808c5dd6bbd49c216c9345eb686 (diff)
parente9a5e7f667d1b0c0dec0053ad9ec6f7bc3162b60 (diff)
downloadmpv-bc1d0ca37d9bdfd69a945043650e0246ffeb5f94.tar.bz2
mpv-bc1d0ca37d9bdfd69a945043650e0246ffeb5f94.tar.xz
Merge svn changes up to r30798
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;