This fixes a warning that comes to an error on my system, preventing
compilation.

Cheers,
Mario

2008-05-16  Mario Torre  <[EMAIL PROTECTED]>

        * native/jni/java-math/java_math_VMBigInteger.c
        (Java_java_math_VMBigInteger_natModInverse): fix variable res not
        initialized. 

-- 
Mario Torre, Software Developer, http://www.jroller.com/neugens/
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-53
pgp key: http://subkeys.pgp.net/ PGP Key ID: 80F240CF
Fingerprint: BA39 9666 94EC 8B73 27FA  FC7C 4086 63E3 80F2 40CF

USt-Id: DE216375633, Handelsregister HRB 109481, AG Mannheim
Geschäftsführer: Dr. James J. Hunt

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/
### Eclipse Workspace Patch 1.0
#P classpath
Index: native/jni/java-math/java_math_VMBigInteger.c
===================================================================
RCS file: /sources/classpath/classpath/native/jni/java-math/java_math_VMBigInteger.c,v
retrieving revision 1.1
diff -u -r1.1 java_math_VMBigInteger.c
--- native/jni/java-math/java_math_VMBigInteger.c	28 Feb 2008 22:44:23 -0000	1.1
+++ native/jni/java-math/java_math_VMBigInteger.c	16 May 2008 18:32:42 -0000
@@ -1112,7 +1112,7 @@
 #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));

Reply via email to