From d3e4e496a19a266ffac7c04fb7d54926e39f55a2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Sep 2018 19:43:55 +0200 Subject: Fix fallthrough warnings with GCC8 --- src/uri.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/uri.c') 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; } -- cgit v1.2.1