Open fujitatomoya opened 1 month ago
This is not a bug, follow up from https://github.com/ros2/rmw_cyclonedds/pull/518#pullrequestreview-2374265975
Having default in the switch statement can prevent developers to realize the case. e.g) https://github.com/ros2/rmw_cyclonedds/pull/518#pullrequestreview-2374265975
default
switch
We can manage all cases in the statement, so that we will not miss the case by compiler notification.
This is not a bug, follow up from https://github.com/ros2/rmw_cyclonedds/pull/518#pullrequestreview-2374265975
Description
Having
default
in theswitch
statement can prevent developers to realize the case. e.g) https://github.com/ros2/rmw_cyclonedds/pull/518#pullrequestreview-2374265975We can manage all cases in the statement, so that we will not miss the case by compiler notification.