CppCheck - Unnecessary consecutive break