ref: c44455837e96883ea70d4f2a4372fba805071135
parent: c1f170493c680bc949c45797a13d09d7d0a08938
author: Roberto E. Vargas Caballero <[email protected]>
date: Tue Aug 29 11:29:49 EDT 2017
[cc1] Remove PASSTHROUGH comments Thanks to dwmuser to remind me that I had to remove these stupid comments that only are useful for people like him. Remember, break is a hint to indicate that its not doing a PASSTHROUGH.
--- a/cc1/expr.c
+++ b/cc1/expr.c
@@ -257,7 +257,6 @@
case PTR:
if (oldtp->op == FLOAT || !cmpnode(np, 0) && !iscast)
return NULL;
- /* PASSTHROUGH */
case INT:
case FLOAT:
case ENUM:
--- a/cc1/stmt.c
+++ b/cc1/stmt.c
@@ -330,7 +330,6 @@
case TYPEIDEN:
if (ahead() == ':')
goto parse_stmt;
- /* PASSTHROUGH */
case TYPE:
case TQUALIFIER:
case SCLASS:
--- a/cc1/types.c
+++ b/cc1/types.c
@@ -136,7 +136,6 @@
goto invalid_type;
return booltype;
case 0:
- /* fallthrough */
case INT:
switch (size) {
case 0:
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
@@ -118,7 +118,7 @@
return tool;
switch (tool) {
- case CC1: /* FALLTHROUGH */
+ case CC1:
case CC2:
fmt = (qbe(tool)) ? "%s-qbe_%s-%s" : "%s-%s-%s";
n = snprintf(t->bin, sizeof(t->bin), fmt, t->cmd, arch, abi);
--- a/lib/c/src/vfprintf.c
+++ b/lib/c/src/vfprintf.c
@@ -64,7 +64,6 @@
s = va_arg(va, char *);
while ((c = *s++) != '\0')
putc(c, fp);
- /* passthrou */
default:
continue;
}