Remove dead code [CID-10]

This commit is contained in:
Love Hornquist Astrand
2009-07-30 10:55:06 +02:00
parent 20c376c62e
commit c961189f95

View File

@@ -100,14 +100,7 @@ handle_comment(void)
}
seen_slash = 1;
continue;
}
if(seen_star && c == '/') {
if(--level == 0)
return;
seen_star = 0;
continue;
}
if(c == '*') {
} else if(c == '*') {
if(seen_slash) {
level++;
seen_star = seen_slash = 0;