We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d2ef6 commit da8d695Copy full SHA for da8d695
1 file changed
rmw_microxrcedds_c/src/rmw_wait.c
@@ -99,7 +99,7 @@ rmw_wait(
99
session = &custom_subscription->owner_node->context->session;
100
}
101
102
- bool run_session_status = uxr_run_session_until_timeout(session, timeout);
+ uxr_run_session_until_timeout(session, timeout);
103
bool buffered_status = false;
104
105
// Check services
@@ -143,6 +143,5 @@ rmw_wait(
143
144
EPROS_PRINT_TRACE()
145
146
- return (buffered_status) ? RMW_RET_OK :
147
- ((run_session_status) ? RMW_RET_ERROR : RMW_RET_TIMEOUT);
+ return (buffered_status) ? RMW_RET_OK : RMW_RET_TIMEOUT;
148
0 commit comments