mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Avoid switch warning in irtype.cpp.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user