shill: update Makefile to enable -Wall, and related flags, on ebuilds
Previously, ebuild flags would be used in preference to those in
the Makefile. Now, we append -Wall, and related flags, to those
set by emake.
Also: update existing code to eliminate warnings.
BUG=chromium-os:15877
TEST=emerge
Change-Id: I95f80860edb29e197aef0e08493f78276da3c062
Reviewed-on: http://gerrit.chromium.org/gerrit/1742
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: mukesh agrawal <quiche@chromium.org>
diff --git a/dbus_adaptor_unittest.cc b/dbus_adaptor_unittest.cc
index 4aeba6b..3921c98 100644
--- a/dbus_adaptor_unittest.cc
+++ b/dbus_adaptor_unittest.cc
@@ -43,12 +43,12 @@
ex_strings_(1, ex_string_),
bool_v_(DBusAdaptor::BoolToVariant(ex_bool_)),
byte_v_(DBusAdaptor::ByteToVariant(ex_byte_)),
- uint16_v_(DBusAdaptor::Uint16ToVariant(ex_uint16_)),
- uint32_v_(DBusAdaptor::Uint32ToVariant(ex_uint32_)),
int16_v_(DBusAdaptor::Int16ToVariant(ex_int16_)),
int32_v_(DBusAdaptor::Int32ToVariant(ex_int32_)),
string_v_(DBusAdaptor::StringToVariant(ex_string_)),
strings_v_(DBusAdaptor::StringsToVariant(ex_strings_)),
+ uint16_v_(DBusAdaptor::Uint16ToVariant(ex_uint16_)),
+ uint32_v_(DBusAdaptor::Uint32ToVariant(ex_uint32_)),
device_(new MockDevice(&control_interface_,
&dispatcher_,
&manager_,