Remove unused variable.

llvm-svn: 134731
This commit is contained in:
Benjamin Kramer 2011-07-08 20:20:17 +00:00
parent dbdff47cb3
commit 65cc1074f3
1 changed files with 1 additions and 2 deletions

View File

@ -1718,7 +1718,6 @@ Sema::CXXCheckCStyleCast(SourceRange R, QualType CastTy, ExprValueKind &VK,
return Owned(CastExpr); return Owned(CastExpr);
} }
QualType origCastExprType = CastExpr->getType();
if (VK == VK_RValue && !CastTy->isRecordType()) { if (VK == VK_RValue && !CastTy->isRecordType()) {
ExprResult CastExprRes = DefaultFunctionArrayLvalueConversion(CastExpr); ExprResult CastExprRes = DefaultFunctionArrayLvalueConversion(CastExpr);
if (CastExprRes.isInvalid()) if (CastExprRes.isInvalid())