Remove unused variable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2013-10-19 16:32:15 +00:00
parent d5b7f2b62c
commit 53c9e5fbb9

View File

@ -1080,10 +1080,9 @@ void CompileUnit::constructTypeDIE(DIE &Buffer, DICompositeType CTy) {
// Add enumerators to enumeration type.
for (unsigned i = 0, N = Elements.getNumElements(); i < N; ++i) {
DIE *ElemDie = NULL;
DIDescriptor Enum(Elements.getElement(i));
if (Enum.isEnumerator())
ElemDie = constructEnumTypeDIE(DIEnumerator(Enum), Buffer);
constructEnumTypeDIE(DIEnumerator(Enum), Buffer);
}
DIType DTy = resolve(CTy.getTypeDerivedFrom());
if (DTy) {