Remove EOL whitespace and redundant break statement