aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.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/utils.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 '')
-rw-r--r--src/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 2a0fcf89d..8f18a80ff 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -76,8 +76,9 @@ int ipv6Supported(void)
return 0;
close(s);
return 1;
-#endif
+#else
return 0;
+#endif
}
char *appendToString(char *dest, const char *src)