aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/.clang-tidy1
-rw-r--r--src/string.c2
-rw-r--r--wscript1
3 files changed, 1 insertions, 3 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
}
diff --git a/wscript b/wscript
index 1735b867..e9cba85b 100644
--- a/wscript
+++ b/wscript
@@ -61,7 +61,6 @@ def configure(conf):
'-Wno-cast-align',
'-Wno-cast-qual',
'-Wno-conversion',
- '-Wno-covered-switch-default',
'-Wno-disabled-macro-expansion',
'-Wno-double-promotion',
'-Wno-format-nonliteral',