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

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

Merge "Redundant checking of STL container element"

parents 0d264bf0 bb8bce93
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1220,9 +1220,7 @@ static int PerformCommandFree(CommandParameters& params) {

    const std::string& id = params.tokens[params.cpos++];

    if (stash_map.find(id) != stash_map.end()) {
    stash_map.erase(id);
    }

    if (params.createdstash || params.canwrite) {
        return FreeStash(params.stashbase, id);