diff options
author | 2014-11-03 21:36:10 -0800 | |
---|---|---|
committer | 2014-11-04 18:40:08 -0800 | |
commit | 277ccbd200ea43590dfc06a93ae184a765327ad0 (patch) | |
tree | d89712e93da5fb2748989353c9ee071102cf3f33 /runtime/monitor_test.cc | |
parent | ad17d41841ba1fb177fb0bf175ec0e9f5e1412b3 (diff) |
ART: More warnings
Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general,
and -Wunused-but-set-parameter for GCC builds.
Change-Id: I81bbdd762213444673c65d85edae594a523836e5
Diffstat (limited to 'runtime/monitor_test.cc')
-rw-r--r-- | runtime/monitor_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/monitor_test.cc b/runtime/monitor_test.cc index 704e0410a5..adc7848ae0 100644 --- a/runtime/monitor_test.cc +++ b/runtime/monitor_test.cc @@ -341,8 +341,7 @@ static void CommonWaitSetup(MonitorTest* test, ClassLinker* class_linker, uint64 // Wake the watchdog. { - Thread* self = Thread::Current(); - ScopedObjectAccess soa(self); + ScopedObjectAccess soa(Thread::Current()); test->watchdog_object_.Get()->MonitorEnter(self); // Lock the object. test->watchdog_object_.Get()->NotifyAll(self); // Wake up waiting parties. |