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/archive/Iso9660ArchivePlugin.cxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) | |
download | mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip |
*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/archive/Iso9660ArchivePlugin.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/archive/Iso9660ArchivePlugin.cxx b/src/archive/Iso9660ArchivePlugin.cxx index 4359256e5..1cfac3a43 100644 --- a/src/archive/Iso9660ArchivePlugin.cxx +++ b/src/archive/Iso9660ArchivePlugin.cxx @@ -118,7 +118,7 @@ iso9660_archive_open(const char *pathname, Error &error) if (iso == nullptr) { error.Format(iso9660_domain, "Failed to open ISO9660 file %s", pathname); - return NULL; + return nullptr; } return new Iso9660ArchiveFile(iso); @@ -168,7 +168,7 @@ Iso9660ArchiveFile::OpenStream(const char *pathname, if (statbuf == nullptr) { error.Format(iso9660_domain, "not found in the ISO file: %s", pathname); - return NULL; + return nullptr; } Iso9660InputStream *iis = @@ -236,7 +236,7 @@ iso9660_input_eof(struct input_stream *is) static const char *const iso9660_archive_extensions[] = { "iso", - NULL + nullptr }; const InputPlugin iso9660_input_plugin = { |