[ros-diffs] [royce] 17954: fix misunderstandings of if syntax