From b5bb72ec41b6411a5c7a1f00855cb6d743ab1b7a Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Mon, 22 Sep 2003 08:05:51 +0000 Subject: [PATCH] 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 --- libjava/ChangeLog | 5 +++++ libjava/jni.cc | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) 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) {