Fix some warnings.

These are easy to solve and reduce the noise in the Travis build.
This commit is contained in:
kai 2014-12-26 15:03:59 +01:00
parent 1d12c61c62
commit 024b14cd7f
8 changed files with 10 additions and 16 deletions

View file

@ -599,7 +599,6 @@ LLConstant* DtoDefineClassInfo(ClassDeclaration* cd)
LOG_SCOPE;
assert(cd->type->ty == Tclass);
TypeClass* cdty = static_cast<TypeClass*>(cd->type);
IrAggr* ir = getIrAggr(cd);
ClassDeclaration* cinfo = Type::typeinfoclass;