harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r666844 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c
Date Wed, 11 Jun 2008 21:10:12 GMT
Author: hindessm
Date: Wed Jun 11 14:10:12 2008
New Revision: 666844

URL: http://svn.apache.org/viewvc?rev=666844&view=rev
Log:
Remove block-local variable when there is already a suitable variable
defined in the function scope.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c?rev=666844&r1=666843&r2=666844&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/bigint.c Wed
Jun 11 14:10:12 2008
@@ -712,7 +712,6 @@
     {
       if (topSize >= topLength * 2)
         {                       /* allocate extra space */
-          IDATA i;
           U_32 *tempPtr;
           jlongArray tempObject;
           if (!(tempObject = NEW_OBJECT (topLength + 1)))



Mime
View raw message