summaryrefslogtreecommitdiffstats
path: root/vm/analysis/CodeVerify.cpp
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2011-07-07 13:49:27 -0700
committerDoug Kwan <dougkwan@google.com>2011-07-07 14:43:12 -0700
commit7aa9563279627b2ff5413bc895381fc170df9f12 (patch)
tree7890db0d82407c542ef7795a2dd0beecf6f55735 /vm/analysis/CodeVerify.cpp
parent03ad7826711ac4e7af6a81ba6f833741444ee621 (diff)
downloadandroid_dalvik-7aa9563279627b2ff5413bc895381fc170df9f12.tar.gz
android_dalvik-7aa9563279627b2ff5413bc895381fc170df9f12.tar.bz2
android_dalvik-7aa9563279627b2ff5413bc895381fc170df9f12.zip
Remove dead code/unused variables to avoid gcc-4.6 warnings.
Change-Id: I291fd42e91085c51772f560d424334874bef8add
Diffstat (limited to 'vm/analysis/CodeVerify.cpp')
-rw-r--r--vm/analysis/CodeVerify.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/vm/analysis/CodeVerify.cpp b/vm/analysis/CodeVerify.cpp
index fea06107c..6d4b93c4e 100644
--- a/vm/analysis/CodeVerify.cpp
+++ b/vm/analysis/CodeVerify.cpp
@@ -2840,7 +2840,6 @@ static ClassObject* getCaughtExceptionType(const Method* meth, int insnIdx,
const DexCode* pCode;
DexFile* pDexFile;
ClassObject* commonSuper = NULL;
- bool foundPossibleHandler = false;
u4 handlersSize;
u4 offset;
u4 i;
@@ -2869,7 +2868,6 @@ static ClassObject* getCaughtExceptionType(const Method* meth, int insnIdx,
if (handler->address == (u4) insnIdx) {
ClassObject* clazz;
- foundPossibleHandler = true;
if (handler->typeIdx == kDexNoIndex)
clazz = gDvm.exThrowable;