diff options
author | Andreas Tobler <andreast@gcc.gnu.org> | 2006-05-21 00:03:19 +0200 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2006-05-21 00:03:19 +0200 |
commit | 3bed5c6bae238cc12c61d013f0b9ef497a0a32ce (patch) | |
tree | 082fefe0b81a7a323fa2c963d2ce256cd4cc156a /libjava/java/lang/natClass.cc | |
parent | 2a332582ce6f0b0f36b6609501636478a7e5f460 (diff) | |
download | gcc-3bed5c6bae238cc12c61d013f0b9ef497a0a32ce.zip gcc-3bed5c6bae238cc12c61d013f0b9ef497a0a32ce.tar.gz gcc-3bed5c6bae238cc12c61d013f0b9ef497a0a32ce.tar.bz2 |
natClass.cc (_Jv_FindMethodInCache): Mark klass, name and signature as MAYBE_UNUSED for HAVE_TLS == 0.
2006-05-21 Andreas Tobler <a.tobler@schweiz.ch>
* java/lang/natClass.cc (_Jv_FindMethodInCache): Mark klass, name and
signature as MAYBE_UNUSED for HAVE_TLS == 0.
(_Jv_AddMethodToCache): Mark klass and method as MAYBE_UNUSED for
HAVE_TLS == 0.
From-SVN: r113939
Diffstat (limited to 'libjava/java/lang/natClass.cc')
-rw-r--r-- | libjava/java/lang/natClass.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libjava/java/lang/natClass.cc b/libjava/java/lang/natClass.cc index 8870889..40f9961 100644 --- a/libjava/java/lang/natClass.cc +++ b/libjava/java/lang/natClass.cc @@ -1,6 +1,6 @@ // natClass.cc - Implementation of java.lang.Class native methods. -/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 +/* Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation This file is part of libgcj. @@ -905,9 +905,9 @@ static __thread _Jv_mcache *method_cache; #endif // HAVE_TLS static void * -_Jv_FindMethodInCache (jclass klass, - _Jv_Utf8Const *name, - _Jv_Utf8Const *signature) +_Jv_FindMethodInCache (jclass klass MAYBE_UNUSED, + _Jv_Utf8Const *name MAYBE_UNUSED, + _Jv_Utf8Const *signature MAYBE_UNUSED) { #ifdef HAVE_TLS _Jv_mcache *cache = method_cache; @@ -927,7 +927,8 @@ _Jv_FindMethodInCache (jclass klass, } static void -_Jv_AddMethodToCache (jclass klass, _Jv_Method *method) +_Jv_AddMethodToCache (jclass klass MAYBE_UNUSED, + _Jv_Method *method MAYBE_UNUSED) { #ifdef HAVE_TLS if (method_cache == NULL) |