summaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-09-22 08:05:51 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-09-22 08:05:51 +0000
commitb5bb72ec41b6411a5c7a1f00855cb6d743ab1b7a (patch)
tree63fa1b234db2fe5e0d9c4a2c994f137636bcef77 /libjava/jni.cc
parent7cdc862eaeeaccd71051b6505a2b93afa4f1bb41 (diff)
downloadgcc-b5bb72ec41b6411a5c7a1f00855cb6d743ab1b7a.tar.gz
jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a compiler warning but produces a different...
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
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index 49779078639..857ee4bc3dd 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)
{