From fa05dac5aeeccb092f5d4593c6bb6dd2f2d39e4e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jul 2014 18:45:14 +0200 Subject: StateFile: use nullptr instead of NULL --- src/StateFile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3