Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6c9c41a authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "librecovery: Remove -Wno-unused-parameter and add -Wall."

parents d6f43684 b24510cd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
    install.cpp
LOCAL_CFLAGS := -Wno-unused-parameter -Werror
LOCAL_CFLAGS := -Wall -Werror
LOCAL_CFLAGS += -DRECOVERY_API_VERSION=$(RECOVERY_API_VERSION)

ifeq ($(AB_OTA_UPDATER),true)
+1 −1
Original line number Diff line number Diff line
@@ -211,7 +211,7 @@ static int check_newer_ab_build(ZipArchiveHandle zip) {
  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) {
  CHECK(cmd != nullptr);
  int ret = check_newer_ab_build(zip);