* jni.cc (_Jv_JNI_GetObjectRefType): Mark `object' parameter as
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 03:44:41 +0000 (03:44 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 30 Nov 2009 03:44:41 +0000 (03:44 +0000)
maybe unused.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154749 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/jni.cc

index bf48430..57b5fe2 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-30  Ben Elliston  <bje@au.ibm.com>
+
+       * jni.cc (_Jv_JNI_GetObjectRefType): Mark `object' parameter as
+       maybe unused.
+
 2009-11-26  Ben Elliston  <bje@au.ibm.com>
 
        * posix-threads.cc (ParkHelper::unpark): Do not initialise result,
index e801c4e..86a4dc5 100644 (file)
@@ -1806,7 +1806,7 @@ _Jv_JNI_GetDirectBufferCapacity (JNIEnv *, jobject buffer)
 }
 
 static jobjectRefType JNICALL
-_Jv_JNI_GetObjectRefType (JNIEnv *, jobject object)
+_Jv_JNI_GetObjectRefType (JNIEnv *, MAYBE_UNUSED jobject object)
 {
   JvFail("GetObjectRefType not implemented");
   return JNIInvalidRefType;