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 a2b7450..da57fc0 100644 (file)
@@ -1,5 +1,10 @@
 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:
        Moves around some code, reformats and adds documentation.
        No functional changes.
index 4977907..857ee4b 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)
     {