Fix switch fallthrough warnings/errors

This commit is contained in:
Nicolas Williams
2020-08-06 11:48:48 -05:00
parent 7d50445d1b
commit fdc13c4aac
4 changed files with 11 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ copy_type (const char *from, const char *to, const Type *t, int preserve)
copy_primitive ("heim_integer", from, to);
break;
}
/* FALLTHROUGH */
case TBoolean:
case TEnumerated :
fprintf(codefile, "*(%s) = *(%s);\n", to, from);