diff options
author | Max Kellermann <max@duempel.org> | 2013-10-02 08:13:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-02 08:56:27 +0200 |
commit | 0214baad5affb78bf64c7774ba48693a3c6d15ee (patch) | |
tree | 79c8c8c13a443f60007db87f65bcbe44941586f3 /src/PlaylistEdit.cxx | |
parent | c2d3ed2acc9fdb9b0900b70d427d91b22684a8ec (diff) |
Playlist*: use nullptr instead of NULL
Diffstat (limited to 'src/PlaylistEdit.cxx')
-rw-r--r-- | src/PlaylistEdit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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" */ |