File tree 3 files changed +3
-1
lines changed
3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ Checks: >
17
17
-bugprone-incorrect-enable-if,
18
18
-bugprone-switch-missing-default-case,
19
19
-bugprone-empty-catch,
20
- -bugprone-unused-return-value,
21
20
-clang-analyzer-*,
22
21
-clang-diagnostic-deprecated-declarations,
23
22
-clang-diagnostic-constant-conversion,
Original file line number Diff line number Diff line change 24
24
- NodeJS:
25
25
- CHANGED: Use node-api instead of NAN. [ #6452 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6452 )
26
26
- Misc:
27
+ - FIXED: Fix bugprone-unused-return-value clang-tidy warning. [ #6934 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6934 )
27
28
- FIXED: Fix performance-noexcept-move-constructor clang-tidy warning. [ #6931 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6933 )
28
29
- FIXED: Fix performance-noexcept-swap clang-tidy warning. [ #6931 ] ( https://github.com/Project-OSRM/osrm-backend/pull/6931 )
29
30
- 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)
186
186
if (ec != boost::asio::error::operation_aborted)
187
187
{
188
188
boost::system ::error_code ignore_error;
189
+ // NOLINTNEXTLINE(bugprone-unused-return-value)
189
190
TCP_socket.cancel (ignore_error);
190
191
handle_shutdown ();
191
192
}
@@ -197,6 +198,7 @@ void Connection::handle_shutdown()
197
198
timer.cancel ();
198
199
// Initiate graceful connection closure.
199
200
boost::system ::error_code ignore_error;
201
+ // NOLINTNEXTLINE(bugprone-unused-return-value)
200
202
TCP_socket.shutdown (boost::asio::ip::tcp::socket::shutdown_both, ignore_error);
201
203
}
202
204
You can’t perform that action at this time.
0 commit comments