summaryrefslogtreecommitdiff
path: root/runtime/class_linker.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_linker.h')
-rw-r--r--runtime/class_linker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/class_linker.h b/runtime/class_linker.h
index a503946634..dfa18ccc43 100644
--- a/runtime/class_linker.h
+++ b/runtime/class_linker.h
@@ -787,7 +787,7 @@ class ClassLinker {
// Registers the native method and returns the new entry point. NB The returned entry point
// might be different from the native_method argument if some MethodCallback modifies it.
const void* RegisterNative(Thread* self, ArtMethod* method, const void* native_method)
- REQUIRES_SHARED(Locks::mutator_lock_) WARN_UNUSED;
+ REQUIRES_SHARED(Locks::mutator_lock_);
// Unregister native code for a method.
void UnregisterNative(Thread* self, ArtMethod* method) REQUIRES_SHARED(Locks::mutator_lock_);