aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-16 00:02:40 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-02-16 00:02:40 -0800
commit6d522e6ed6b2e87b193e928e888ca4747a4f974d (patch)
treee052a6ee43d9111d08373e12bcc7515cc4030266 /env.cpp
parent635c87d6298d7c30651e266105ef72f3e1876209 (diff)
First round of fixes based on cppcheck
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/env.cpp b/env.cpp
index 43113990..6f4ab8e9 100644
--- a/env.cpp
+++ b/env.cpp
@@ -1467,7 +1467,7 @@ static void update_export_array_if_necessary(bool recalc)
for (i=0; i<uni.size(); i++)
{
const wcstring &key = uni.at(i);
- const wchar_t *val = env_universal_get(key.c_str());
+ const wchar_t *val = env_universal_get(key);
if (wcscmp(val, ENV_NULL))
{