Skip to content

Commit af38e6d

Browse files
committed
added some nolint statements
Signed-off-by: Martin Mayer <[email protected]>
1 parent 90d719c commit af38e6d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/rcutils/thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ rcutils_ret_t calculate_os_fifo_thread_priority(
8383
*/
8484
RCUTILS_PUBLIC
8585
rcutils_ret_t configure_native_realtime_thread(
86-
unsigned long int native_handle, const int priority,
86+
unsigned long int native_handle, const int priority, // NOLINT
8787
const unsigned int cpu_bitmask);
8888

8989
#ifdef __cplusplus

src/thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ rcutils_ret_t calculate_os_fifo_thread_priority(
6868
}
6969

7070
rcutils_ret_t configure_native_realtime_thread(
71-
unsigned long int native_handle, const int priority,
71+
unsigned long int native_handle, const int priority, // NOLINT
7272
const unsigned int cpu_bitmask)
7373
{
7474
int success = 1;

test/test_thread.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
TEST(test_thread, config_rt_thread) {
2525
#ifdef __linux__
2626
const unsigned cpu_id = 0;
27-
const unsigned long cpu_bitmask = 1 << cpu_id;
27+
const unsigned long cpu_bitmask = 1 << cpu_id; // NOLINT
2828
const int priority = THREAD_PRIORITY_MEDIUM;
2929
if (configure_native_realtime_thread(pthread_self(), priority, cpu_bitmask) != RCUTILS_RET_OK) {
3030
GTEST_SKIP() << "Unable to set realtime thread priority.";

0 commit comments

Comments
 (0)