Skip to content

Commit

Permalink
warn about unused return value for set_logger_level (#38)
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
  • Loading branch information
dirk-thomas authored May 15, 2020
1 parent c005b97 commit ba92511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ void rcl_logging_external_log(int severity, const char * name, const char * msg)
* \return always RCL_LOGGING_RET_OK.
*/
RCL_LOGGING_PUBLIC
RCUTILS_WARN_UNUSED
rcl_logging_ret_t rcl_logging_external_set_logger_level(const char * name, int level);


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ void rcl_logging_external_log(int severity, const char * name, const char * msg)
* \return always RCL_LOGGING_RET_OK.
*/
RCL_LOGGING_PUBLIC
RCUTILS_WARN_UNUSED
rcl_logging_ret_t rcl_logging_external_set_logger_level(const char * name, int level);


Expand Down

0 comments on commit ba92511

Please sign in to comment.