From 1bac54ffa933fbe9b92b62437577f2f4583eff1a Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 16 Mar 2012 12:48:31 -0700 Subject: Fix all our unused parameter warnings so we let GCC report them. There were a couple of genuine bugs here (fixed), plus there's a missing feature in trace.cc that I've just added a TODO for. Also note that I haven't touched the compilers; this warning is still explicitly disabled for that code. I'll do that when there's less going on in those directories. Change-Id: Ic3570bf82411a07c7530bfaf1995ac995b9fc00f --- src/java_lang_Thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/java_lang_Thread.cc') diff --git a/src/java_lang_Thread.cc b/src/java_lang_Thread.cc index 0871bdd6a7..52c53784ed 100644 --- a/src/java_lang_Thread.cc +++ b/src/java_lang_Thread.cc @@ -30,7 +30,7 @@ static jobject Thread_currentThread(JNIEnv* env, jclass) { return AddLocalReference(env, Thread::Current()->GetPeer()); } -static jboolean Thread_interrupted(JNIEnv* env, jclass) { +static jboolean Thread_interrupted(JNIEnv*, jclass) { return Thread::Current()->Interrupted(); } -- cgit v1.2.3-59-g8ed1b