aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.clang-tidy1
-rw-r--r--src/string.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 5be37470..79f266d9 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -9,6 +9,7 @@ Checks: >
-cert-dcl51-cpp,
-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
-google-readability-todo,
+ -hicpp-multiway-paths-covered,
-hicpp-signed-bitwise,
-llvm-header-guard,
-llvmlibc-*,
diff --git a/src/string.c b/src/string.c
index 6c834cc4..55654033 100644
--- a/src/string.c
+++ b/src/string.c
@@ -50,8 +50,6 @@ serd_strerror(SerdStatus status)
return (const uint8_t*)"Invalid CURIE";
case SERD_ERR_INTERNAL:
return (const uint8_t*)"Internal error";
- default:
- break;
}
return (const uint8_t*)"Unknown error"; // never reached
}