jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning...
authorMichael Koch <konqueror@gmx.de>
Mon, 22 Sep 2003 08:05:51 +0000 (08:05 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 22 Sep 2003 08:05:51 +0000 (08:05 +0000)
2003-09-22  Michael Koch  <konqueror@gmx.de>

* jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
compiler warning but produces a different one now.

From-SVN: r71650

libjava/ChangeLog
libjava/jni.cc

index a2b745077cf10c5b8651ee47e3ab1164abd62660..da57fc06adce95498ff1b03a909646b8e8a35f18 100644 (file)
@@ -1,3 +1,8 @@
+2003-09-22  Michael Koch  <konqueror@gmx.de>
+
+       * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
+       compiler warning but produces a different one now.
+
 2003-09-22  Michael Koch  <konqueror@gmx.de>
 
        * java/net/InetAddress.java:
index 49779078639253edf6d2381df737e097cf852fab..857ee4bc3dddd7f1a6ced09e37721f429762e9f9 100644 (file)
@@ -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)
     {