aboutsummaryrefslogtreecommitdiffstats
path: root/src/charConv.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-03-26 10:37:23 +0000
committerEric Wong <normalperson@yhbt.net>2008-03-26 10:37:23 +0000
commitb546bcfec63822ad3bf3ae4ee71472dfa3aac010 (patch)
treecc403adde39a933f96c89f62a7e4486c69f094be /src/charConv.c
parent66fe58064295f838f894758d92b087100ce022aa (diff)
downloadmpd-b546bcfec63822ad3bf3ae4ee71472dfa3aac010.tar.gz
mpd-b546bcfec63822ad3bf3ae4ee71472dfa3aac010.tar.xz
mpd-b546bcfec63822ad3bf3ae4ee71472dfa3aac010.zip
fix "unreachable code" warning
There is unreachable code at several positions, e.g. after an #if/#end, or after an endless loop. Remove that. git-svn-id: https://svn.musicpd.org/mpd/trunk@7197 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/charConv.c')
-rw-r--r--src/charConv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charConv.c b/src/charConv.c
index 895a695cd..c9a47fe1d 100644
--- a/src/charConv.c
+++ b/src/charConv.c
@@ -88,9 +88,9 @@ int setCharSetConversion(const char *to, const char *from)
char_conv_use_iconv = 1;
return 0;
-#endif
-
+#else
return -1;
+#endif
}
char *char_conv_str(char *dest, const char *string)