Fix compiler warning by removing unused variable
llvm-svn: 363651
diff --git a/clang/lib/CodeGen/CGExprConstant.cpp b/clang/lib/CodeGen/CGExprConstant.cpp
index bddecff..e94fc67 100644
--- a/clang/lib/CodeGen/CGExprConstant.cpp
+++ b/clang/lib/CodeGen/CGExprConstant.cpp
@@ -356,7 +356,7 @@
return true;
}
- if (auto *CAZ = dyn_cast<llvm::ConstantAggregateZero>(C)) {
+ if (isa<llvm::ConstantAggregateZero>(C)) {
CharUnits ElemSize = getSize(C);
assert(Hint > Offset && Hint < Offset + ElemSize && "nothing to split");
replace(Elems, Index, Index + 1,