mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
Elminate an unused variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
514fc3651b
commit
2d47418d3e
@ -167,7 +167,6 @@ const Type *ConvertableToGEP(const Type *Ty, Value *OffsetVal,
|
||||
CompTy = cast<CompositeType>(NextTy);
|
||||
|
||||
if (const StructType *StructTy = dyn_cast<StructType>(CompTy)) {
|
||||
const StructLayout *SL = TD.getStructLayout(StructTy);
|
||||
unsigned ActualOffset = Offset;
|
||||
NextTy = getStructOffsetType(StructTy, ActualOffset, Indices);
|
||||
if (StructTy == NextTy && ActualOffset == 0) return 0; // No progress. :(
|
||||
|
Loading…
x
Reference in New Issue
Block a user