File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ Checks: >
1717 -bugprone-incorrect-enable-if,
1818 -bugprone-switch-missing-default-case,
1919 -bugprone-empty-catch,
20- -bugprone-unused-return-value,
2120 -clang-analyzer-*,
2221 -clang-diagnostic-deprecated-declarations,
2322 -clang-diagnostic-constant-conversion,
Original file line number Diff line number Diff line change 2424 - NodeJS:
2525 - CHANGED: Use node-api instead of NAN. [ #6452 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6452 )
2626 - Misc:
27+ - FIXED: Fix bugprone-unused-return-value clang-tidy warning. [ #6934 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6934 )
2728 - FIXED: Fix performance-noexcept-move-constructor clang-tidy warning. [ #6931 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6933 )
2829 - FIXED: Fix performance-noexcept-swap clang-tidy warning. [ #6931 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6931 )
2930 - CHANGED: Use custom struct instead of std::pair in QueryHeap. [ #6921 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6921 )
Original file line number Diff line number Diff line change @@ -186,6 +186,7 @@ void Connection::handle_timeout(boost::system::error_code ec)
186186 if (ec != boost::asio::error::operation_aborted)
187187 {
188188 boost::system::error_code ignore_error;
189+ // NOLINTNEXTLINE(bugprone-unused-return-value)
189190 TCP_socket.cancel (ignore_error);
190191 handle_shutdown ();
191192 }
@@ -197,6 +198,7 @@ void Connection::handle_shutdown()
197198 timer.cancel ();
198199 // Initiate graceful connection closure.
199200 boost::system::error_code ignore_error;
201+ // NOLINTNEXTLINE(bugprone-unused-return-value)
200202 TCP_socket.shutdown (boost::asio::ip::tcp::socket::shutdown_both, ignore_error);
201203}
202204
You can’t perform that action at this time.
0 commit comments