Fix various errors uncovered by static analysis

Reported-by: Carlos Montiers <cmontiers@gmail.com>
This commit is contained in:
Thomas Preud'homme
2014-03-08 18:36:02 +08:00
parent ba286136bf
commit fdb3b10d06
4 changed files with 2 additions and 5 deletions

View File

@ -1901,8 +1901,6 @@ void gfunc_call(int nb_args)
for (i = 0; i < nb_args; i++) {
if ((vtop->type.t & VT_BTYPE) == VT_STRUCT) {
ALWAYS_ASSERT(FALSE);
} else if ((vtop->type.t & VT_BTYPE) == VT_STRUCT) {
ALWAYS_ASSERT(FALSE);
} else {
/* simple type (currently always same size) */
/* XXX: implicit cast ? */