summaryrefslogtreecommitdiffstats
path: root/runtime/jdwp/jdwp_bits.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-03 21:36:10 -0800
committerAndreas Gampe <agampe@google.com>2014-11-04 18:40:08 -0800
commit277ccbd200ea43590dfc06a93ae184a765327ad0 (patch)
treed89712e93da5fb2748989353c9ee071102cf3f33 /runtime/jdwp/jdwp_bits.h
parentad17d41841ba1fb177fb0bf175ec0e9f5e1412b3 (diff)
downloadandroid_art-277ccbd200ea43590dfc06a93ae184a765327ad0.tar.gz
android_art-277ccbd200ea43590dfc06a93ae184a765327ad0.tar.bz2
android_art-277ccbd200ea43590dfc06a93ae184a765327ad0.zip
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/jdwp/jdwp_bits.h')
-rw-r--r--runtime/jdwp/jdwp_bits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/jdwp/jdwp_bits.h b/runtime/jdwp/jdwp_bits.h
index 9f80cbe307..f9cf9ca0d9 100644
--- a/runtime/jdwp/jdwp_bits.h
+++ b/runtime/jdwp/jdwp_bits.h
@@ -68,7 +68,7 @@ static inline void AppendUtf16BE(std::vector<uint8_t>& bytes, const uint16_t* ch
// @deprecated
static inline void Set1(uint8_t* buf, uint8_t val) {
- *buf = (uint8_t)(val);
+ *buf = val;
}
// @deprecated