aboutsummaryrefslogtreecommitdiffstats
path: root/src/StateFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-30 18:45:14 +0200
committerMax Kellermann <max@duempel.org>2014-07-30 18:45:14 +0200
commitfa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e (patch)
treeccc66224196f3bf05928ba59f141b7db7f1a37d1 /src/StateFile.cxx
parent430dd3ae053d71984bcd2ce5fbb0272fadc30cfd (diff)
downloadmpd-fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e.tar.gz
mpd-fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e.tar.xz
mpd-fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e.zip
StateFile: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r--src/StateFile.cxx2
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,