simplify oclint error suppression for scoped_lock

This commit is contained in:
Kurtis Rader
2016-07-20 22:30:58 -07:00
parent b53f42970c
commit 1d2fff9686
12 changed files with 71 additions and 61 deletions

View File

@@ -38,7 +38,7 @@ static const wchar_t *intern_with_dup(const wchar_t *in, bool dup) {
if (!in) return NULL;
debug(5, L"intern %ls", in);
scoped_lock lock(intern_lock); //!OCLINT(has side effects)
scoped_lock locker(intern_lock);
const wchar_t *result;
#if USE_SET