summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/.clang-tidy1
-rw-r--r--src/Serialiser.cpp2
-rw-r--r--src/server/JackDriver.hpp2
3 files changed, 2 insertions, 3 deletions
diff --git a/src/.clang-tidy b/src/.clang-tidy
index 13a97efc..32352d76 100644
--- a/src/.clang-tidy
+++ b/src/.clang-tidy
@@ -27,7 +27,6 @@ Checks: >
-hicpp-no-malloc,
-misc-no-recursion,
-misc-unused-parameters,
- -readability-avoid-return-with-void-value,
-readability-function-cognitive-complexity,
-readability-redundant-casting,
-readability-use-anyofallof,
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp
index 27b3c071..02f0c6e8 100644
--- a/src/Serialiser.cpp
+++ b/src/Serialiser.cpp
@@ -514,7 +514,7 @@ void
Serialiser::serialise_arc(const Sord::Node& parent,
const std::shared_ptr<const Arc>& arc)
{
- return me->serialise_arc(parent, arc);
+ me->serialise_arc(parent, arc);
}
void
diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp
index 3f0e28dc..bd1b3477 100644
--- a/src/server/JackDriver.hpp
+++ b/src/server/JackDriver.hpp
@@ -118,7 +118,7 @@ private:
// Static JACK callbacks which call the non-static callbacks (methods)
static void shutdown_cb(void* const jack_driver) {
- return static_cast<JackDriver*>(jack_driver)->_shutdown_cb();
+ static_cast<JackDriver*>(jack_driver)->_shutdown_cb();
}
static int process_cb(jack_nframes_t nframes, void* const jack_driver) {