aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-04 19:43:55 +0200
committerDavid Robillard <d@drobilla.net>2018-09-04 21:16:18 +0200
commitd3e4e496a19a266ffac7c04fb7d54926e39f55a2 (patch)
treec3e2d5b9d64a678a7792c7c2be73ab4737b31576 /src/uri.c
parent3267bb312f50746202226d29cc196bb47941e4d5 (diff)
downloadserd-d3e4e496a19a266ffac7c04fb7d54926e39f55a2.tar.gz
serd-d3e4e496a19a266ffac7c04fb7d54926e39f55a2.tar.bz2
serd-d3e4e496a19a266ffac7c04fb7d54926e39f55a2.zip
Fix fallthrough warnings with GCC8
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uri.c b/src/uri.c
index 0f0b3ca6..6ec6f1c7 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -278,7 +278,8 @@ remove_dot_segments(const uint8_t* path, size_t len, size_t* up)
}
break;
case '\0':
- ++begin; // Chop input "." (and fall-through)
+ ++begin; // Chop input "."
+ // fallthru
default:
return begin;
}