1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

remove lonely break statements

This commit is contained in:
Kevin Glynn 2011-01-28 08:10:28 +01:00
parent d0c882dd7b
commit 0d8f99a118

View File

@ -246,7 +246,7 @@ scope SymTab {
// not found
breakPos = -1;
}
if (breakPos > 0) {
if (breakPos >= 0) {
// delete from break to end
for (int i = len-1; i >= breakPos; i--) {
stats.DeleteChild(i);