diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a2b745077cf1..da57fc06adce 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2003-09-22 Michael Koch + + * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a + compiler warning but produces a different one now. + 2003-09-22 Michael Koch * java/net/InetAddress.java: diff --git a/libjava/jni.cc b/libjava/jni.cc index 497790786392..857ee4bc3ddd 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -2118,9 +2118,7 @@ _Jv_LookupJNIMethod (jclass klass, _Jv_Utf8Const *name, function = _Jv_FindSymbolInExecutable (buf + 1); } } -#else /* WIN32 */ - args_size; /* Dummy statement to avoid unused parameter warning */ -#endif /* ! WIN32 */ +#endif /* WIN32 */ if (function == NULL) {