summaryrefslogtreecommitdiffstats
path: root/math/src
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2010-02-20 10:35:21 -0800
committerJesse Wilson <jessewilson@google.com>2010-02-20 10:35:21 -0800
commitcdd899615bc7a22506c89d3828c236788f9f2b2d (patch)
tree006474636f0fc0ad1a9719eb60776c28e6f9f6f6 /math/src
parentea5adee4813216359fda6529e7064c42ccdbc4cd (diff)
downloadlibcore-cdd899615bc7a22506c89d3828c236788f9f2b2d.zip
libcore-cdd899615bc7a22506c89d3828c236788f9f2b2d.tar.gz
libcore-cdd899615bc7a22506c89d3828c236788f9f2b2d.tar.bz2
Removing dead code from BigInt
Diffstat (limited to 'math/src')
-rw-r--r--math/src/main/java/java/math/BigInt.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/math/src/main/java/java/math/BigInt.java b/math/src/main/java/java/math/BigInt.java
index 3ba1da2..1eae2e0 100644
--- a/math/src/main/java/java/math/BigInt.java
+++ b/math/src/main/java/java/math/BigInt.java
@@ -82,7 +82,6 @@ class BigInt
public static int consumeErrors(StringBuilder sb) {
int cnt = 0;
int e, reason;
- boolean first = true;
while ((e = NativeBN.ERR_get_error()) != 0) {
reason = e & 255;
if (reason == 103) {
@@ -96,7 +95,6 @@ class BigInt
if (reason == 65) {
throw new OutOfMemoryError();
}
- if (!first) { sb.append(" *** "); first = false; }
sb.append(e).append(": ");
String s = NativeBN.ERR_error_string(e);
sb.append(s);