commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r1141881 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/Dfp.java
Date Fri, 01 Jul 2011 09:06:50 GMT
Author: luc
Date: Fri Jul  1 09:06:50 2011
New Revision: 1141881

URL: http://svn.apache.org/viewvc?rev=1141881&view=rev
Log:
removed unused variable

Modified:
    commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/Dfp.java

Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/Dfp.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/Dfp.java?rev=1141881&r1=1141880&r2=1141881&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/Dfp.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math/dfp/Dfp.java Fri Jul 
1 09:06:50 2011
@@ -493,12 +493,10 @@ public class Dfp implements FieldElement
         q = offset;  // set q to point to first sig digit
         p = significantDigits-1+offset;
 
-        int trailingZeros = 0;
         while (p > q) {
             if (striped[p] != '0') {
                 break;
             }
-            trailingZeros++;
             p--;
         }
 



Mime
View raw message