Make sure a switch statement does not have repetitive case statements.

Error found through LLVM post-2.1 svn.
This commit is contained in:
Brett Cannon 2008-02-07 22:27:10 +00:00
parent 23bdcc9253
commit 8352585909
1 changed files with 2 additions and 0 deletions

View File

@ -146,7 +146,9 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
case FFI_TYPE_SINT64:
case FFI_TYPE_FLOAT:
case FFI_TYPE_DOUBLE:
#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
case FFI_TYPE_LONGDOUBLE:
#endif
cif->flags = (unsigned) cif->rtype->type;
break;