Elminate an unused variable

llvm-svn: 1518
This commit is contained in:
Chris Lattner 2002-01-21 23:16:30 +00:00
parent 1677feaf72
commit 8cc83611e6
1 changed files with 0 additions and 1 deletions

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