diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
commit | 59f8144c50765189594d5932fc25869f9ea6e265 (patch) | |
tree | f460d9f46a99040dea402bcb3ad2d84a0e734285 /src/DecoderList.hxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) | |
download | mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip |
*: use nullptr instead of NULL
Diffstat (limited to 'src/DecoderList.hxx')
-rw-r--r-- | src/DecoderList.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DecoderList.hxx b/src/DecoderList.hxx index 8dab8724e..7beed230b 100644 --- a/src/DecoderList.hxx +++ b/src/DecoderList.hxx @@ -28,7 +28,7 @@ extern bool decoder_plugins_enabled[]; #define decoder_plugins_for_each(plugin) \ for (const struct decoder_plugin *plugin, \ *const*decoder_plugin_iterator = &decoder_plugins[0]; \ - (plugin = *decoder_plugin_iterator) != NULL; \ + (plugin = *decoder_plugin_iterator) != nullptr; \ ++decoder_plugin_iterator) #define decoder_plugins_for_each_enabled(plugin) \ @@ -41,8 +41,8 @@ extern bool decoder_plugins_enabled[]; * Find the next enabled decoder plugin which supports the specified suffix. * * @param suffix the file name suffix - * @param plugin the previous plugin, or NULL to find the first plugin - * @return a plugin, or NULL if none matches + * @param plugin the previous plugin, or nullptr to find the first plugin + * @return a plugin, or nullptr if none matches */ const struct decoder_plugin * decoder_plugin_from_suffix(const char *suffix, |