*: use nullptr instead of NULL
This commit is contained in:
@@ -69,11 +69,11 @@ print_playlist_in_directory(Client *client,
|
||||
static bool
|
||||
PrintSongBrief(Client *client, Song &song)
|
||||
{
|
||||
assert(song.parent != NULL);
|
||||
assert(song.parent != nullptr);
|
||||
|
||||
song_print_uri(client, &song);
|
||||
|
||||
if (song.tag != NULL && song.tag->has_playlist)
|
||||
if (song.tag != nullptr && song.tag->has_playlist)
|
||||
/* this song file has an embedded CUE sheet */
|
||||
print_playlist_in_directory(client, *song.parent, song.uri);
|
||||
|
||||
@@ -83,11 +83,11 @@ PrintSongBrief(Client *client, Song &song)
|
||||
static bool
|
||||
PrintSongFull(Client *client, Song &song)
|
||||
{
|
||||
assert(song.parent != NULL);
|
||||
assert(song.parent != nullptr);
|
||||
|
||||
song_print_info(client, &song);
|
||||
|
||||
if (song.tag != NULL && song.tag->has_playlist)
|
||||
if (song.tag != nullptr && song.tag->has_playlist)
|
||||
/* this song file has an embedded CUE sheet */
|
||||
print_playlist_in_directory(client, *song.parent, song.uri);
|
||||
|
||||
|
Reference in New Issue
Block a user