diff options
-rw-r--r-- | src/sord_validate.c | 8 |
1 files 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 |