From 5bf1b0e5f500b6b99a866da32dd9002219cac6d6 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sat, 28 May 2016 22:28:26 -0700 Subject: fix random lint issues This only eliminates errors reported by `make lint`. It shouldn't cause any functional changes. This change does remove several functions that are unused. It also removes the `desc_arr` variable which is both unused and out of date with reality. --- src/intern.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/intern.cpp') diff --git a/src/intern.cpp b/src/intern.cpp index d92b142a..9030ef8a 100644 --- a/src/intern.cpp +++ b/src/intern.cpp @@ -38,8 +38,8 @@ static pthread_mutex_t intern_lock = PTHREAD_MUTEX_INITIALIZER; static const wchar_t *intern_with_dup(const wchar_t *in, bool dup) { if (!in) return NULL; - // debug( 0, L"intern %ls", in ); - scoped_lock lock(intern_lock); + debug(5, L"intern %ls", in); + scoped_lock lock(intern_lock); //!OCLINT(has side effects) const wchar_t *result; #if USE_SET -- cgit v1.2.3