diff options
author | Chris Lattner <sabre@nondot.org> | 2002-01-21 22:50:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-01-21 22:50:38 +0000 |
commit | 3d0fda2f56a83b45b3673fff430b297da3030d88 (patch) | |
tree | 19e3a1f0ef9db87f8ab5aa0c52bb742cb2925aa7 /lib/Target/TargetData.cpp | |
parent | d4b051135c0f4f3a81d82dc7578ed8f776a348ea (diff) |
Remove dead variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1515 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetData.cpp')
-rw-r--r-- | lib/Target/TargetData.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/TargetData.cpp b/lib/Target/TargetData.cpp index 0df60fde67..d347730ee0 100644 --- a/lib/Target/TargetData.cpp +++ b/lib/Target/TargetData.cpp @@ -168,7 +168,7 @@ unsigned TargetData::getIndexedOffset(const Type *ptrTy, // Update Ty to refer to current element Ty = STy->getElementTypes()[FieldNo]; - } else if (const ArrayType *ATy = dyn_cast<const ArrayType>(Ty)) { + } else if (isa<const ArrayType>(Ty)) { assert(0 && "Loading from arrays not implemented yet!"); } else { assert(0 && "Indexing type that is not struct or array?"); |