Merge "librecovery: Remove -Wno-unused-parameter and add -Wall."
am: b6c9c41a3d
Change-Id: I4ec01251132d6dc871cec19cf7c8577e33aac193
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ include $(BUILD_STATIC_LIBRARY)
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_SRC_FILES := \
|
LOCAL_SRC_FILES := \
|
||||||
install.cpp
|
install.cpp
|
||||||
LOCAL_CFLAGS := -Wno-unused-parameter -Werror
|
LOCAL_CFLAGS := -Wall -Werror
|
||||||
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
|
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)
|
||||||
|
|
||||||
ifeq ($(AB_OTA_UPDATER),true)
|
ifeq ($(AB_OTA_UPDATER),true)
|
||||||
|
|||||||
+1
-1
@@ -211,7 +211,7 @@ static int check_newer_ab_build(ZipArchiveHandle zip) {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int update_binary_command(const std::string& path, ZipArchiveHandle zip, int retry_count,
|
int update_binary_command(const std::string& path, ZipArchiveHandle zip, int /* retry_count */,
|
||||||
int status_fd, std::vector<std::string>* cmd) {
|
int status_fd, std::vector<std::string>* cmd) {
|
||||||
CHECK(cmd != nullptr);
|
CHECK(cmd != nullptr);
|
||||||
int ret = check_newer_ab_build(zip);
|
int ret = check_newer_ab_build(zip);
|
||||||
|
|||||||
Reference in New Issue
Block a user