mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Offload HAL Service: Enable errors for warnings
Update compile flags for this module so that warnings will report errors during compilation. Also fixed one unused variable. Bug: 32842314 Test: VTS Change-Id: I0249cbbc26cbd23a3c9c5d013f303e13ea74a749
This commit is contained in:
@@ -24,7 +24,7 @@ cc_library_static {
|
||||
"offload_status_util.cpp",
|
||||
"offload_utils.cpp",
|
||||
],
|
||||
cflags: ["-Wall", "-Wextra"],
|
||||
cflags: ["-Wall", "-Wextra", "-Werror"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libhidlbase",
|
||||
|
||||
@@ -24,7 +24,7 @@ class HidlDeathHandler : public android::hardware::hidl_death_recipient {
|
||||
|
||||
// Death notification for callbacks.
|
||||
void serviceDied(uint64_t cookie,
|
||||
const android::wp<android::hidl::base::V1_0::IBase> &who) override {
|
||||
const android::wp<android::hidl::base::V1_0::IBase>& /* who */) override {
|
||||
cb_.clear();
|
||||
cb_function_(cookie);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user