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

Commit fc216d66 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 25a83f01 898b642d
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);