From b5bb72ec41b6411a5c7a1f00855cb6d743ab1b7a Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Mon, 22 Sep 2003 08:05:51 +0000 Subject: 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(-) (limited to 'libjava') diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a2b7450..da57fc0 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,10 @@ 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: Moves around some code, reformats and adds documentation. No functional changes. diff --git a/libjava/jni.cc b/libjava/jni.cc index 4977907..857ee4b 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) { -- cgit v1.1