From 0214baad5affb78bf64c7774ba48693a3c6d15ee Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Oct 2013 08:13:28 +0200 Subject: Playlist*: use nullptr instead of NULL --- src/PlaylistEdit.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PlaylistEdit.cxx') diff --git a/src/PlaylistEdit.cxx b/src/PlaylistEdit.cxx index 0b513c228..a68c579d1 100644 --- a/src/PlaylistEdit.cxx +++ b/src/PlaylistEdit.cxx @@ -59,7 +59,7 @@ playlist::AppendFile(struct player_control &pc, const char *path_utf8, unsigned *added_id) { Song *song = Song::LoadFile(path_utf8, nullptr); - if (song == NULL) + if (song == nullptr) return PLAYLIST_RESULT_NO_SUCH_SONG; return AppendSong(pc, song, added_id); @@ -247,7 +247,7 @@ playlist::DeleteInternal(player_control &pc, completely */ Stop(pc); - *queued_p = NULL; + *queued_p = nullptr; } else if (current == (int)songOrder) /* there's a "current song" but we're not playing currently - clear "current" */ -- cgit v1.2.3