Address CMake and uncrustify linter violations
This commit is contained in:
parent
44e61e20e0
commit
e849c71122
2 changed files with 4 additions and 4 deletions
|
@ -33,7 +33,7 @@ find_package(ament_cmake_ros REQUIRED)
|
|||
|
||||
find_package(rcutils REQUIRED)
|
||||
|
||||
if (CYCLONEDDS_FROM_SOURCE)
|
||||
if(CYCLONEDDS_FROM_SOURCE)
|
||||
message("Building CycloneDDS from source")
|
||||
find_package(cyclonedds_vendor REQUIRED)
|
||||
else()
|
||||
|
|
|
@ -69,8 +69,8 @@
|
|||
#define REPORT_BLOCKED_REQUESTS 0
|
||||
|
||||
#define RET_ERR_X(msg, code) do {RMW_SET_ERROR_MSG(msg); code;} while (0)
|
||||
#define RET_NULL_X(var, code) do {if (!var) RET_ERR_X (#var " is null", code);} while (0)
|
||||
#define RET_ALLOC_X(var, code) do {if (!var) RET_ERR_X ("failed to allocate " #var, code); \
|
||||
#define RET_NULL_X(var, code) do {if (!var) {RET_ERR_X(#var " is null", code);}} while (0)
|
||||
#define RET_ALLOC_X(var, code) do {if (!var) {RET_ERR_X("failed to allocate " #var, code);} \
|
||||
} while (0)
|
||||
#define RET_WRONG_IMPLID_X(var, code) do { \
|
||||
RET_NULL_X(var, code); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue