summaryrefslogtreecommitdiffstats
path: root/src/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index e59ddc9..2122418 100644
--- a/src/util.c
+++ b/src/util.c
@@ -65,13 +65,13 @@ lilv_uri_to_path(const char* uri)
#ifdef __WIN32__
if (!strncmp(uri, "file:///", (size_t)8)) {
return (char*)(uri + 8);
+ }
#else
if (!strncmp(uri, "file://", (size_t)7)) {
return (char*)(uri + 7);
-#endif
- } else {
- return NULL;
}
+#endif
+ return NULL;
}
/** Return the current LANG converted to Turtle (i.e. RFC3066) style.