2 /// Remove unneeded semicolon.
4 // Confidence: Moderate
5 // Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. GPLv2.
6 // URL: http://coccinelle.lip6.fr/
7 // Comments: Some false positives on empty default cases in switch statements.
8 // Options: --no-includes --include-headers
49 position p != {r_default.p, r_case.p};
62 if p[0].line != p1[0].line_end:
63 cocci.include_match(False)
70 @script:python depends on report@
73 coccilib.report.print_report(p[0],"Unneeded semicolon")
80 @script:python depends on org@
83 cocci.print_main("Unneeded semicolon",p)