Commit fa05dac5 authored by Max Kellermann's avatar Max Kellermann

StateFile: use nullptr instead of NULL

parent 430dd3ae
...@@ -106,7 +106,7 @@ StateFile::Read() ...@@ -106,7 +106,7 @@ StateFile::Read()
#endif #endif
const char *line; const char *line;
while ((line = file.ReadLine()) != NULL) { while ((line = file.ReadLine()) != nullptr) {
success = read_sw_volume_state(line, partition.outputs) || success = read_sw_volume_state(line, partition.outputs) ||
audio_output_state_read(line, partition.outputs) || audio_output_state_read(line, partition.outputs) ||
playlist_state_restore(line, file, song_loader, playlist_state_restore(line, file, song_loader,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment