diff options
author | 2014-11-03 21:36:10 -0800 | |
---|---|---|
committer | 2014-11-04 18:40:08 -0800 | |
commit | 277ccbd200ea43590dfc06a93ae184a765327ad0 (patch) | |
tree | d89712e93da5fb2748989353c9ee071102cf3f33 /runtime/class_linker_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/class_linker_test.cc')
-rw-r--r-- | runtime/class_linker_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/class_linker_test.cc b/runtime/class_linker_test.cc index 88e6265df5..70807da22e 100644 --- a/runtime/class_linker_test.cc +++ b/runtime/class_linker_test.cc @@ -374,8 +374,8 @@ struct CheckOffset { template <typename T> struct CheckOffsets { - CheckOffsets(bool is_static, const char* class_descriptor) - : is_static(is_static), class_descriptor(class_descriptor) {} + CheckOffsets(bool is_static_in, const char* class_descriptor_in) + : is_static(is_static_in), class_descriptor(class_descriptor_in) {} bool is_static; std::string class_descriptor; std::vector<CheckOffset> offsets; |