From 0cb0cb486ff0f9ab886d1a868aa28ee3b2f306cd Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sun, 29 Sep 2024 17:37:18 +0200 Subject: tagtree: remove superfluous code from insert_all_playlist Code has no effect since commit a0e95c8. Functionality is now handled by the playlist_insert_context_add function Change-Id: Ie91f605bd7a7d03556fa70d195a06bc55866741d --- apps/tagtree.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'apps') diff --git a/apps/tagtree.c b/apps/tagtree.c index 267fa4fba7..83bfb4e36d 100644 --- a/apps/tagtree.c +++ b/apps/tagtree.c @@ -2346,8 +2346,6 @@ static bool insert_all_playlist(struct tree_context *c, break; } yield(); - if (playlist == NULL && position == PLAYLIST_INSERT_FIRST) - position = PLAYLIST_INSERT; if (exit_loop_now) break; -- cgit v1.2.3