diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-10-29 18:50:47 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-10-30 13:57:01 -0400 |
commit | 3f3e185460b1204ed9420b3d9129f1371a01b6ec (patch) | |
tree | a3b9212662133d4a73ae3406a0be786e192b872b /apps/playlist.c | |
parent | 96dd251571f1440bd4699c117706b8728990ec10 (diff) | |
download | rockbox-3f3e185460b1204ed9420b3d9129f1371a01b6ec.tar.gz rockbox-3f3e185460b1204ed9420b3d9129f1371a01b6ec.zip |
Fix return value for playlist_get_resume_info
(Only) bookmark_is_bookmarkable_state()
seems to require a return value atm.
Change-Id: I701031285aad80a46ebca747d06f15d968c0e9c7
Diffstat (limited to 'apps/playlist.c')
-rw-r--r-- | apps/playlist.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index 88cb375568..8071874be0 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -2278,9 +2278,7 @@ int playlist_get_resume_info(int *resume_index) | |||
2278 | { | 2278 | { |
2279 | struct playlist_info* playlist = ¤t_playlist; | 2279 | struct playlist_info* playlist = ¤t_playlist; |
2280 | 2280 | ||
2281 | *resume_index = playlist->index; | 2281 | return (*resume_index = playlist->index); |
2282 | |||
2283 | return 0; | ||
2284 | } | 2282 | } |
2285 | 2283 | ||
2286 | /* returns shuffle seed of playlist */ | 2284 | /* returns shuffle seed of playlist */ |