From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- src/DecoderPrint.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/DecoderPrint.cxx') diff --git a/src/DecoderPrint.cxx b/src/DecoderPrint.cxx index 3f7f94937..6d5bd4f30 100644 --- a/src/DecoderPrint.cxx +++ b/src/DecoderPrint.cxx @@ -31,17 +31,17 @@ decoder_plugin_print(Client *client, { const char *const*p; - assert(plugin != NULL); - assert(plugin->name != NULL); + assert(plugin != nullptr); + assert(plugin->name != nullptr); client_printf(client, "plugin: %s\n", plugin->name); - if (plugin->suffixes != NULL) - for (p = plugin->suffixes; *p != NULL; ++p) + if (plugin->suffixes != nullptr) + for (p = plugin->suffixes; *p != nullptr; ++p) client_printf(client, "suffix: %s\n", *p); - if (plugin->mime_types != NULL) - for (p = plugin->mime_types; *p != NULL; ++p) + if (plugin->mime_types != nullptr) + for (p = plugin->mime_types; *p != nullptr; ++p) client_printf(client, "mime_type: %s\n", *p); } -- cgit v1.2.3