[Sema] Fix -Wunused-variable in CreateBuiltinMatrixSubscriptExpr (NFC).

This commit is contained in:
Florian Hahn 2020-06-02 10:45:30 +01:00
parent b446ec56a2
commit a6a42df506
1 changed files with 1 additions and 0 deletions

View File

@ -4737,6 +4737,7 @@ ExprResult Sema::CreateBuiltinMatrixSubscriptExpr(Expr *Base, Expr *RowIdx,
bool ConversionOk = tryConvertToTy(*this, Context.getSizeType(), &ConvExpr);
assert(ConversionOk &&
"should be able to convert any integer type to size type");
(void)ConversionOk;
return ConvExpr.get();
};