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:
Chris Lattner 2002-01-21 23:16:30 +00:00
parent 514fc3651b
commit 2d47418d3e

View File

@ -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. :(