summaryrefslogtreecommitdiffstats
path: root/apps/playlist_viewer.c
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-12-14 21:45:25 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-12-14 21:45:25 +0000
commit8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 (patch)
tree92f6769d3fbb5936e32d5fb82480b776ea6fbfb9 /apps/playlist_viewer.c
parent273fbadb5537743829f9830de5247626a11aedca (diff)
downloadrockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.gz
rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.tar.bz2
rockbox-8e6030c8223bfb3102048b2daccbf6a6f4e97ba2.zip
FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_viewer.c')
-rw-r--r--apps/playlist_viewer.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/apps/playlist_viewer.c b/apps/playlist_viewer.c
index ffaefebd5f..68732adcbc 100644
--- a/apps/playlist_viewer.c
+++ b/apps/playlist_viewer.c
@@ -126,7 +126,6 @@ static void format_line(const struct playlist_entry* track, char* str,
static bool update_playlist(bool force);
static int onplay_menu(int index);
-static int save_playlist_func(void);
static void playlist_buffer_init(struct playlist_buffer *pb, char *names_buffer,
int names_buffer_size)
@@ -437,9 +436,6 @@ static bool update_playlist(bool force)
return true;
}
-MENUITEM_FUNCTION(save_playlist_item, 0, ID2P(LANG_SAVE_DYNAMIC_PLAYLIST),
- save_playlist_func, 0, NULL, Icon_NOICON);
-
/* Menu of playlist commands. Invoked via ON+PLAY on main viewer screen.
Returns -1 if USB attached, 0 if no playlist change, and 1 if playlist
changed. */
@@ -521,13 +517,6 @@ static int onplay_menu(int index)
return ret;
}
-/* Save playlist to disk */
-static int save_playlist_func(void)
-{
- save_playlist_screen(viewer.playlist);
- return 0;
-}
-
/* View current playlist */
enum playlist_viewer_result playlist_viewer(void)
{