From: Michael Koch Date: Mon, 22 Sep 2003 08:05:51 +0000 (+0000) Subject: jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning... X-Git-Tag: releases/gcc-3.4.0~3593 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b5bb72ec41b6411a5c7a1f00855cb6d743ab1b7a;p=thirdparty%2Fgcc.git jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning but produces a different... 2003-09-22 Michael Koch * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning but produces a different one now. From-SVN: r71650 --- 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) {