aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/wutil.cpp
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-05-28 22:28:26 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-05-29 22:24:29 -0700
commit5bf1b0e5f500b6b99a866da32dd9002219cac6d6 (patch)
tree4622863e7f28ad7f840d6a7096057286aee4e750 /src/wutil.cpp
parent3d19b549c8d9fc77597d0de95260e90f5dda2dae (diff)
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.
Diffstat (limited to 'src/wutil.cpp')
-rw-r--r--src/wutil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wutil.cpp b/src/wutil.cpp
index 3b0bdb2e..02e975b2 100644
--- a/src/wutil.cpp
+++ b/src/wutil.cpp
@@ -415,7 +415,7 @@ const wchar_t *wgettext(const wchar_t *in) {
wgettext_init_if_necessary();
wcstring key = in;
- scoped_lock lock(wgettext_lock);
+ scoped_lock lock(wgettext_lock); //!OCLINT(has side effects)
wcstring &val = wgettext_map[key];
if (val.empty()) {