summaryrefslogtreecommitdiff
path: root/src/java_lang_VMClassLoader.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-03-16 12:48:31 -0700
committer Elliott Hughes <enh@google.com> 2012-03-16 12:48:31 -0700
commit1bac54ffa933fbe9b92b62437577f2f4583eff1a (patch)
treea27134343ed3cd45a286c3a68b9a4469e70f13e7 /src/java_lang_VMClassLoader.cc
parent96970cdab3e28511322ce37fa578f6eff8931d72 (diff)
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
Diffstat (limited to 'src/java_lang_VMClassLoader.cc')
-rw-r--r--src/java_lang_VMClassLoader.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java_lang_VMClassLoader.cc b/src/java_lang_VMClassLoader.cc
index 1bb2e63a6f..3d96c472c5 100644
--- a/src/java_lang_VMClassLoader.cc
+++ b/src/java_lang_VMClassLoader.cc
@@ -41,7 +41,7 @@ static jclass VMClassLoader_findLoadedClass(JNIEnv* env, jclass, jobject javaLoa
}
}
-static jint VMClassLoader_getBootClassPathSize(JNIEnv* env, jclass) {
+static jint VMClassLoader_getBootClassPathSize(JNIEnv*, jclass) {
return Runtime::Current()->GetClassLinker()->GetBootClassPath().size();
}