removed defaults, proper warnings come up#549
Conversation
fujitatomoya
left a comment
There was a problem hiding this comment.
overall looks good to me.
default case can be only removed if,
switchstatement manages the enum data type.- all the variables of enum types are handled in the
switchstatement.
this is because that the compiler can give us the warning if it is missing the check for any values of enum.
there are several warnings https://build.ros2.org/job/Rpr__rmw_cyclonedds__ubuntu_noble_amd64/49/, can you also take a look at them?
MANUAL_BY_NODE enum that is deprecated
|
@fujitatomoya Good for review. Last Warning that exists is a deprecated warning coming from one of the enums |
|
Pulls: #549 |
I just removed |
|
It looks like some-kind of Jenkins plugin is failing on these builds. |
Description
Removed unnecessary defaults prohibiting compiler warnings.