summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
authorMario Torre <neugens@limasoftware.net>2008-05-16 18:49:32 +0000
committerMario Torre <neugens@limasoftware.net>2008-05-16 18:49:32 +0000
commit3e1edfd30fc31ee014dbc4dd35f972072d9c0650 (patch)
tree56685ce3ce743e27354b92406dedcb17cb6ebd30 /native
parentd988b0c8a3a5f0b792cc025e7ae57cbc0dd2838d (diff)
downloadclasspath-3e1edfd30fc31ee014dbc4dd35f972072d9c0650.tar.gz
2008-05-16 Mario Torre <neugens@aicas.com>
* native/jni/java-math/java_math_VMBigInteger.c (Java_java_math_VMBigInteger_natModInverse): fix variable res not initialized.
Diffstat (limited to 'native')
-rw-r--r--native/jni/java-math/java_math_VMBigInteger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/java-math/java_math_VMBigInteger.c b/native/jni/java-math/java_math_VMBigInteger.c
index 01bbb2e03..af274e8dd 100644
--- a/native/jni/java-math/java_math_VMBigInteger.c
+++ b/native/jni/java-math/java_math_VMBigInteger.c
@@ -1112,7 +1112,7 @@ Java_java_math_VMBigInteger_natSetBitCount(JNIEnv *env,
#if defined(WITH_GNU_MP)
mpz_srcptr _this;
mpz_ptr _bi;
- unsigned long res;
+ unsigned long res = 0;
TRACE("begin");
_this = (mpz_srcptr)JCL_GetRawData (env, (*env)->GetObjectField (env, this, native_ptr));