summaryrefslogtreecommitdiff
path: root/src/ui_act.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui_act.c')
-rw-r--r--src/ui_act.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui_act.c b/src/ui_act.c
index 7515396..c39f98b 100644
--- a/src/ui_act.c
+++ b/src/ui_act.c
@@ -496,9 +496,7 @@ BarUiActCallback(BarUiActTempBanSong) {
/* print upcoming songs
*/
BarUiActCallback(BarUiActPrintUpcoming) {
- assert (selSong != NULL);
-
- PianoSong_t *nextSong = PianoListNextP (selSong);
+ PianoSong_t * const nextSong = PianoListNextP (selSong);
if (nextSong != NULL) {
BarUiListSongs (&app->settings, nextSong, NULL);
} else {