From 3fc28c38615d22f9b27d8870fa3f7f2fdac8889e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Dec 2024 21:19:40 -0500 Subject: Remove unreachable code --- src/sord_validate.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/sord_validate.c b/src/sord_validate.c index 50b6b2c..f357de5 100644 --- a/src/sord_validate.c +++ b/src/sord_validate.c @@ -221,9 +221,9 @@ regexp_match(const uint8_t* const pattern, const char* const str) pcre2_code_free(re); return rc > 0; -#endif // USE_PCRE2 - +#else return true; +#endif // USE_PCRE2 } static int @@ -431,11 +431,9 @@ check_type(SordModel* model, sord_iter_free(t); return false; } - } else { - return true; // Blanks often lack explicit types, ignore } - return false; + return true; // Blanks often lack explicit types, ignore } static uint64_t -- cgit v1.2.1