From a8787601fc182ff44cab7dabbe1b682e01e42ac6 Mon Sep 17 00:00:00 2001 From: Jackie Kay Date: Wed, 30 Mar 2016 13:10:14 -0700 Subject: [PATCH] Remove check argument for null from int argument --- rcl/src/rcl/wait.c | 1 - 1 file changed, 1 deletion(-) diff --git a/rcl/src/rcl/wait.c b/rcl/src/rcl/wait.c index 5426419725..58cc982a71 100644 --- a/rcl/src/rcl/wait.c +++ b/rcl/src/rcl/wait.c @@ -488,7 +488,6 @@ rcl_ret_t rcl_wait(rcl_wait_set_t * wait_set, int64_t timeout) { RCL_CHECK_ARGUMENT_FOR_NULL(wait_set, RCL_RET_INVALID_ARGUMENT); - RCL_CHECK_ARGUMENT_FOR_NULL(timeout, RCL_RET_INVALID_ARGUMENT); if (!__wait_set_is_valid(wait_set)) { RCL_SET_ERROR_MSG("wait set is invalid"); return RCL_RET_WAIT_SET_INVALID;