From 7aa9563279627b2ff5413bc895381fc170df9f12 Mon Sep 17 00:00:00 2001 From: Doug Kwan Date: Thu, 7 Jul 2011 13:49:27 -0700 Subject: Remove dead code/unused variables to avoid gcc-4.6 warnings. Change-Id: I291fd42e91085c51772f560d424334874bef8add --- vm/native/java_lang_System.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'vm/native/java_lang_System.cpp') diff --git a/vm/native/java_lang_System.cpp b/vm/native/java_lang_System.cpp index c5db95afc..99b917bca 100644 --- a/vm/native/java_lang_System.cpp +++ b/vm/native/java_lang_System.cpp @@ -243,12 +243,10 @@ static void Dalvik_java_lang_System_arraycopy(const u4* args, JValue* pResult) * start from the front we could do a smear rather than a move. */ Object** srcObj; - Object** dstObj; int copyCount; ClassObject* clazz = NULL; srcObj = ((Object**)(void*)srcArray->contents) + srcPos; - dstObj = ((Object**)(void*)dstArray->contents) + dstPos; if (length > 0 && srcObj[0] != NULL) { -- cgit v1.2.3