Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use existing check_wait_set_for_data to avoid duplicated code (#185)
* Remove trailing space on blank line. Signed-off-by: Chris Lalancette <clalancette@openrobotics.org> * use existing check_wait_set_for_data to avoid duplicated code There is already function check_wait_set_for_data over there which can help judge hasToWait, no need duplicated check one by one. The logic is hasToWait = false if hasData is true, otherwise keep hasToWait as it was. Signed-off-by: jwang <jing.j.wang@intel.com>
- Loading branch information