mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-14 23:48:49 +00:00
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:
parent
d5b7f2b62c
commit
53c9e5fbb9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user