aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/ArchiveInputPlugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/ArchiveInputPlugin.cxx')
-rw-r--r--src/input/ArchiveInputPlugin.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/input/ArchiveInputPlugin.cxx b/src/input/ArchiveInputPlugin.cxx
index c5c881330..5288f2b3b 100644
--- a/src/input/ArchiveInputPlugin.cxx
+++ b/src/input/ArchiveInputPlugin.cxx
@@ -48,7 +48,7 @@ input_archive_open(const char *pathname,
InputStream *is;
if (!PathTraits::IsAbsoluteFS(pathname))
- return NULL;
+ return nullptr;
char *pname = g_strdup(pathname);
// archive_lookup will modify pname when true is returned
@@ -57,7 +57,7 @@ input_archive_open(const char *pathname,
FormatDebug(archive_domain,
"not an archive, lookup %s failed", pname);
g_free(pname);
- return NULL;
+ return nullptr;
}
//check which archive plugin to use (by ext)
@@ -66,13 +66,13 @@ input_archive_open(const char *pathname,
FormatWarning(archive_domain,
"can't handle archive %s", archive);
g_free(pname);
- return NULL;
+ return nullptr;
}
auto file = archive_file_open(arplug, archive, error);
- if (file == NULL) {
+ if (file == nullptr) {
g_free(pname);
- return NULL;
+ return nullptr;
}
//setup fileops