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/PlaylistSave.cxx | |
parent | c2d3ed2acc9fdb9b0900b70d427d91b22684a8ec (diff) | |
download | mpd-0214baad5affb78bf64c7774ba48693a3c6d15ee.tar.gz mpd-0214baad5affb78bf64c7774ba48693a3c6d15ee.tar.xz mpd-0214baad5affb78bf64c7774ba48693a3c6d15ee.zip |
Playlist*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/PlaylistSave.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PlaylistSave.cxx b/src/PlaylistSave.cxx index efcf03402..1a3a96a23 100644 --- a/src/PlaylistSave.cxx +++ b/src/PlaylistSave.cxx @@ -78,7 +78,7 @@ spl_save_queue(const char *name_utf8, const struct queue *queue) FILE *file = FOpen(path_fs, FOpenMode::WriteText); - if (file == NULL) + if (file == nullptr) return PLAYLIST_RESULT_ERRNO; for (unsigned i = 0; i < queue->GetLength(); i++) |