Elminate an unused variable

llvm-svn: 1518
This commit is contained in:
Chris Lattner 2002-01-21 23:16:30 +00:00
parent a9d61d59fe
commit 15f43a7af7

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