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,10 +112,10 @@ const llvm::Type * IrTypeBasic::basic2llvm(Type* t)
case Tbool:
return llvm::Type::getInt1Ty(ctx);
default:
assert(0 && "not basic type");
return NULL;
}
assert(0 && "not basic type");
return NULL;
}
//////////////////////////////////////////////////////////////////////////////