summaryrefslogtreecommitdiff
path: root/native
diff options
context:
space:
mode:
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));