aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/path.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/path.c b/src/path.c
index 21597f5e6..0753727ea 100644
--- a/src/path.c
+++ b/src/path.c
@@ -34,11 +34,11 @@
const char *musicDir;
static const char *playlistDir;
-static char *fsCharset = NULL;
+static char *fsCharset;
char *fsCharsetToUtf8(char *str)
{
- static char *ret = NULL;
+ static char *ret;
ret = convCharset("UTF-8", fsCharset, str, ret);
@@ -52,7 +52,7 @@ char *fsCharsetToUtf8(char *str)
char *utf8ToFsCharset(char *str)
{
- static char *ret = NULL;
+ static char *ret;
ret = convCharset(fsCharset, "UTF-8", str, ret);