diff options
author | David Robillard <d@drobilla.net> | 2024-07-17 10:49:09 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-17 11:47:19 -0400 |
commit | df04ca05d50928548e5fcd847148cd8c7e843741 (patch) | |
tree | 1ebb417dd0473af4f1674358768d8d41a4b014c8 /src | |
parent | 540532718d9762d06ca169f73768981ce37f7ac6 (diff) | |
download | ingen-df04ca05d50928548e5fcd847148cd8c7e843741.tar.gz ingen-df04ca05d50928548e5fcd847148cd8c7e843741.tar.bz2 ingen-df04ca05d50928548e5fcd847148cd8c7e843741.zip |
Avoid return with void value
Diffstat (limited to 'src')
-rw-r--r-- | src/.clang-tidy | 1 | ||||
-rw-r--r-- | src/Serialiser.cpp | 2 | ||||
-rw-r--r-- | src/server/JackDriver.hpp | 2 |
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) { |