Avoid switch warning in irtype.cpp.

This commit is contained in:
David Nadlinger 2011-04-24 11:41:41 +02:00
parent 8f5f93057c
commit 009ce6e161

View file

@ -112,11 +112,11 @@ const llvm::Type * IrTypeBasic::basic2llvm(Type* t)
case Tbool: case Tbool:
return llvm::Type::getInt1Ty(ctx); return llvm::Type::getInt1Ty(ctx);
} default:
assert(0 && "not basic type"); assert(0 && "not basic type");
return NULL; return NULL;
} }
}
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////