Fix unused local var warning when DXASSERT is off.
This commit is contained in:
Родитель
74f4fee608
Коммит
53bb89f6d8
|
@ -1289,7 +1289,7 @@ void HLMatrixLowerPass::TranslateMatMajorCast(Value *matVal,
|
|||
Type *castTy = GetMatrixInfo(castInst->getType(), castCol, castRow);
|
||||
unsigned srcCol, srcRow;
|
||||
Type *srcTy = GetMatrixInfo(matVal->getType(), srcCol, srcRow);
|
||||
DXASSERT(srcTy == castTy, "type must match");
|
||||
DXASSERT_LOCALVAR((void)(srcTy && castTy), srcTy == castTy, "type must match");
|
||||
DXASSERT(castCol == srcRow && castRow == srcCol, "col row must match");
|
||||
col = srcCol;
|
||||
row = srcRow;
|
||||
|
|
Загрузка…
Ссылка в новой задаче