mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-09 12:32:33 +03:00
Fix an unused variable warning
This commit is contained in:
parent
eadefdc676
commit
544af80417
1 changed files with 0 additions and 1 deletions
|
@ -677,7 +677,6 @@ DSliceValue* DtoNewMulDimDynArray(Loc& loc, Type* arrayType, DValue** dims, size
|
|||
// Build static array for dimensions
|
||||
LLArrayType* type = LLArrayType::get(DtoSize_t(), ndims);
|
||||
array = DtoRawAlloca(type, 0, ".dimarray");
|
||||
unsigned int i = 0;
|
||||
for (size_t i = 0; i < ndims; ++i)
|
||||
DtoStore(dims[i]->getRVal(), DtoGEPi(array, 0, i, ".ndim"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue