From 20597b3632d3b6e25ba532716106f90d5b64d0e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 28 Oct 2013 23:58:17 +0100 Subject: *: use nullptr instead of NULL --- src/command/OtherCommands.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/command/OtherCommands.cxx') diff --git a/src/command/OtherCommands.cxx b/src/command/OtherCommands.cxx index 510ef89e7..75faa4dc2 100644 --- a/src/command/OtherCommands.cxx +++ b/src/command/OtherCommands.cxx @@ -129,7 +129,7 @@ handle_lsinfo(Client &client, int argc, char *argv[]) return print_error(client, error); Song *song = Song::LoadFile(path_utf8, nullptr); - if (song == NULL) { + if (song == nullptr) { command_error(client, ACK_ERROR_NO_EXIST, "No such file"); return CommandResult::ERROR; @@ -310,7 +310,7 @@ handle_config(Client &client, } const char *path = mapper_get_music_directory_utf8(); - if (path != NULL) + if (path != nullptr) client_printf(client, "music_directory: %s\n", path); return CommandResult::OK; -- cgit v1.2.3