adds missing break statement
Merge pull request #1535 from pdewouters/missing-break

adds missing break statement