commit ebdc0a24f14a77c01c20f3c8f7d106dc2f0ee410 from: Omar Polo date: Thu Jun 09 16:45:19 2022 UTC drop unnecessary temp variable in main_restart_track commit - 1771f738ebf22a71a7c60542a96ae37a2eb6e055 commit + ebdc0a24f14a77c01c20f3c8f7d106dc2f0ee410 blob - 423df70a2828ea302876b19feeb8f2b06bce90e5 blob + 41b25022fe9b12ed0d583dee140ffe81835a3f7f --- amused.c +++ amused.c @@ -475,13 +475,10 @@ main_playlist_previous(void) void main_restart_track(void) { - const char *song; - - song = current_song; - if (song == NULL) + if (current_song == NULL) return; - if (main_play_song(song)) + if (main_play_song(current_song)) return; playlist_dropcurrent();