diff options
author | Max Kellermann <max@duempel.org> | 2014-07-30 18:45:14 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-07-30 18:45:14 +0200 |
commit | fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e (patch) | |
tree | ccc66224196f3bf05928ba59f141b7db7f1a37d1 /src/StateFile.cxx | |
parent | 430dd3ae053d71984bcd2ce5fbb0272fadc30cfd (diff) | |
download | mpd-fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e.tar.gz mpd-fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e.tar.xz mpd-fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e.zip |
StateFile: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/StateFile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StateFile.cxx b/src/StateFile.cxx index a3069605f..0e558f298 100644 --- a/src/StateFile.cxx +++ b/src/StateFile.cxx @@ -106,7 +106,7 @@ StateFile::Read() #endif const char *line; - while ((line = file.ReadLine()) != NULL) { + while ((line = file.ReadLine()) != nullptr) { success = read_sw_volume_state(line, partition.outputs) || audio_output_state_read(line, partition.outputs) || playlist_state_restore(line, file, song_loader, |