From b6aaee3c8f7cd22e3caed7007211927f40327656 Mon Sep 17 00:00:00 2001 From: bje Date: Mon, 30 Nov 2009 03:44:41 +0000 Subject: [PATCH] * jni.cc (_Jv_JNI_GetObjectRefType): Mark `object' parameter as maybe unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154749 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 5 +++++ libjava/jni.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index bf48430..57b5fe2 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2009-11-30 Ben Elliston + + * jni.cc (_Jv_JNI_GetObjectRefType): Mark `object' parameter as + maybe unused. + 2009-11-26 Ben Elliston * posix-threads.cc (ParkHelper::unpark): Do not initialise result, diff --git a/libjava/jni.cc b/libjava/jni.cc index e801c4e..86a4dc5 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -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; -- 2.7.4