summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/unzip.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-24 12:57:58 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-24 12:58:31 +0200
commit89c5e1f681107b6d9f8ba7f761c388d1e2052fe4 (patch)
treec5ce4530d0c03fa1c04021844272b82b7b7ebcbc /src/lib/util/unzip.cpp
parentef0968b87042040e1f0e18c84ce804f744f8e23e (diff)
Various cleanups suggested by static analyzer (nw)
Diffstat (limited to 'src/lib/util/unzip.cpp')
-rw-r--r--src/lib/util/unzip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/unzip.cpp b/src/lib/util/unzip.cpp
index cce6c812a76..021d9602dae 100644
--- a/src/lib/util/unzip.cpp
+++ b/src/lib/util/unzip.cpp
@@ -585,7 +585,7 @@ void zip_file_impl::close(ptr &&zip)
osd_printf_verbose("unzip: closing archive file %s and sending to cache\n", zip->m_filename.c_str());
zip->m_file.reset();
- // find the first NULL entry in the cache
+ // find the first nullptr entry in the cache
std::lock_guard<std::mutex> guard(s_cache_mutex);
std::size_t cachenum;
for (cachenum = 0; cachenum < s_cache.size(); cachenum++)
@@ -1334,7 +1334,7 @@ void m7z_file_cache_clear();
archive_file::error archive_file::open_zip(const std::string &filename, ptr &result)
{
- // ensure we start with a NULL result
+ // ensure we start with a nullptr result
result.reset();
// see if we are in the cache, and reopen if so