[ros-diffs] [weiden] 14267: improve readability by removing obsolete gotos and for loops where appropriate