mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-29 06:30:39 +03:00
Fix a few clang warnings. [NFC]
This commit is contained in:
parent
70c23125cf
commit
c6ba2dc29b
5 changed files with 6 additions and 18 deletions
|
@ -561,7 +561,6 @@ DValue *DtoCastVector(Loc &loc, DValue *val, Type *to) {
|
|||
assert(val->type->toBasetype()->ty == Tvector);
|
||||
Type *totype = to->toBasetype();
|
||||
LLType *tolltype = DtoType(to);
|
||||
TypeVector *type = static_cast<TypeVector *>(val->type->toBasetype());
|
||||
|
||||
if (totype->ty == Tsarray) {
|
||||
// If possible, we need to cast only the address of the vector without
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue