[ros-diffs] [cwittich] 28830: fix some issues found by prefast