aboutsummaryrefslogtreecommitdiffstats
path: root/src/localization.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/localization.c')
-rw-r--r--src/localization.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localization.c b/src/localization.c
index 74783fab1..b58c83945 100644
--- a/src/localization.c
+++ b/src/localization.c
@@ -31,11 +31,11 @@
#endif
#endif
-static char *localeCharset = NULL;
+static char *localeCharset;
char *utf8ToLocaleCharset(char *str)
{
- static char *ret = NULL;
+ static char *ret;
if (localeCharset)
ret = convCharset(localeCharset, "UTF-8", str, ret);