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 | |
parent | 96dd251571f1440bd4699c117706b8728990ec10 (diff) | |
download | rockbox-3f3e185460.tar.gz rockbox-3f3e185460.zip |
Fix return value for playlist_get_resume_info
(Only) bookmark_is_bookmarkable_state()
seems to require a return value atm.
Change-Id: I701031285aad80a46ebca747d06f15d968c0e9c7
-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) { struct playlist_info* playlist = ¤t_playlist; - *resume_index = playlist->index; - - return 0; + return (*resume_index = playlist->index); } /* returns shuffle seed of playlist */ |