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

Commit 1a28bf2d authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "fs_mgr: remove -Wno-unused-variable from cflags" am: fc216d66

am: b65ce990

Change-Id: I3267bdb550fab611157f74c90b7ad926c56d10d2
parents 1618aef6 b65ce990
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ cc_defaults {
    cflags: [
        "-Wall",
        "-Werror",
        "-Wno-unused-variable",
    ],
}

+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ std::string fs_mgr_get_slot_suffix() {

// Updates |fstab| for slot_suffix. Returns true on success, false on error.
bool fs_mgr_update_for_slotselect(Fstab* fstab) {
    int n;
    std::string ab_suffix;

    for (auto& entry : *fstab) {
+0 −1
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@ std::string SerializeMetadata(const LpMetadata& input) {
// with potentially invalid metadata, or random partition data with metadata.
static bool ValidateAndSerializeMetadata(const IPartitionOpener& opener, const LpMetadata& metadata,
                                         const std::string& slot_suffix, std::string* blob) {
    const LpMetadataHeader& header = metadata.header;
    const LpMetadataGeometry& geometry = metadata.geometry;

    *blob = SerializeMetadata(metadata);