diff options
Diffstat (limited to 'runtime/mirror/object-inl.h')
-rw-r--r-- | runtime/mirror/object-inl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/mirror/object-inl.h b/runtime/mirror/object-inl.h index c9e60bc0b2..c451764c93 100644 --- a/runtime/mirror/object-inl.h +++ b/runtime/mirror/object-inl.h @@ -135,6 +135,7 @@ inline void Object::SetReadBarrierPointer(Object* rb_ptr) { #else LOG(FATAL) << "Unreachable"; UNREACHABLE(); + UNUSED(rb_ptr); #endif } @@ -156,6 +157,7 @@ inline bool Object::AtomicSetReadBarrierPointer(Object* expected_rb_ptr, Object* DCHECK_EQ(new_ref.reference_, atomic_rb_ptr->LoadRelaxed()); return true; #else + UNUSED(expected_rb_ptr, rb_ptr); LOG(FATAL) << "Unreachable"; UNREACHABLE(); #endif |