aboutsummaryrefslogtreecommitdiffstats
path: root/src/DecoderPrint.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
commit59f8144c50765189594d5932fc25869f9ea6e265 (patch)
treef460d9f46a99040dea402bcb3ad2d84a0e734285 /src/DecoderPrint.cxx
parent5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff)
downloadmpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz
mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz
mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip
*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r--src/DecoderPrint.cxx12
1 files changed, 6 insertions, 6 deletions
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);
}