diff options
author | 2016-04-24 12:57:58 +0200 | |
---|---|---|
committer | 2016-04-24 12:58:31 +0200 | |
commit | 89c5e1f681107b6d9f8ba7f761c388d1e2052fe4 (patch) | |
tree | c5ce4530d0c03fa1c04021844272b82b7b7ebcbc /src/lib/util/un7z.cpp | |
parent | ef0968b87042040e1f0e18c84ce804f744f8e23e (diff) |
Various cleanups suggested by static analyzer (nw)
Diffstat (limited to 'src/lib/util/un7z.cpp')
-rw-r--r-- | src/lib/util/un7z.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/un7z.cpp b/src/lib/util/un7z.cpp index 95f34179ea0..75377d4093a 100644 --- a/src/lib/util/un7z.cpp +++ b/src/lib/util/un7z.cpp @@ -340,7 +340,7 @@ void m7z_file_impl::close(ptr &&archive) osd_printf_verbose("un7z: closing archive file %s and sending to cache\n", archive->m_filename.c_str()); archive->m_archive_stream.osdfile.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++) @@ -504,7 +504,7 @@ void m7z_file_impl::make_utf8_name(int index) archive_file::error archive_file::open_7z(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 |