diff options
author | Casey Marshall <csm@gnu.org> | 2006-09-17 19:13:00 +0000 |
---|---|---|
committer | Casey Marshall <csm@gnu.org> | 2006-09-17 19:13:00 +0000 |
commit | 3a0e8b6235e5114474f7e4765fb24876509b614a (patch) | |
tree | 664a135801491171a3fd5e217c962abb93f35111 | |
parent | 7517cb03ec9881e41192ebe2c3763f28c8014aa7 (diff) | |
download | classpath-3a0e8b6235e5114474f7e4765fb24876509b614a.tar.gz |
2006-09-17 Casey Marshall <csm@gnu.org>
* native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
unused.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | native/jni/classpath/jcl.c | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2006-09-17 Casey Marshall <csm@gnu.org> + + * native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as + unused. + 2006-09-17 Chris Burdess <dog@gnu.org> Fixes PR 27610 27687. diff --git a/native/jni/classpath/jcl.c b/native/jni/classpath/jcl.c index 5fa656cc0..dbc1e3017 100644 --- a/native/jni/classpath/jcl.c +++ b/native/jni/classpath/jcl.c @@ -51,15 +51,15 @@ exception statement from your version. */ /* * Cached Pointer class info. */ -static jclass rawDataClass; -static jfieldID rawData_fid; -static jmethodID rawData_mid; +static jclass rawDataClass = NULL; +static jfieldID rawData_fid = NULL; +static jmethodID rawData_mid = NULL; /* * JNI OnLoad constructor. */ jint -JNI_OnLoad (JavaVM *vm, void *reserved) +JNI_OnLoad (JavaVM *vm, void *reserved __attribute__((unused))) { JNIEnv *env; void *envp; |