mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-30 15:45:26 +00:00
Elminate an unused variable
llvm-svn: 1518
This commit is contained in:
parent
a9d61d59fe
commit
15f43a7af7
@ -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…
Reference in New Issue
Block a user