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

Commit bd86420b authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Remove unused variable.

Bug: N/A
Test: builds
Change-Id: I983f361d3d5a779600077a78b121c4ee399089db
parent f3192bd0
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1027,13 +1027,12 @@ static void do_update_signature(ZipArchiveHandle zip, const char* filename) {
static void set_active(Transport* transport, const std::string& slot_override) {
    if (!supports_AB(transport)) return;

    std::string separator = "";
    if (slot_override != "") {
        fb_set_active(separator + slot_override);
        fb_set_active(slot_override);
    } else {
        std::string current_slot = get_current_slot(transport);
        if (current_slot != "") {
            fb_set_active(separator + current_slot);
            fb_set_active(current_slot);
        }
    }
}