summaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-22 08:05:51 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-22 08:05:51 +0000
commit298f38b48050c316530af8c7ee3df40fdf1f11d8 (patch)
tree63fa1b234db2fe5e0d9c4a2c994f137636bcef77 /libjava/jni.cc
parentbb230db0a6c6d9e374fbfc81cd0d7884ff862621 (diff)
downloadgcc-298f38b48050c316530af8c7ee3df40fdf1f11d8.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71650 138bc75d-0d04-0410-961f-82ee72b054a4
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)
{