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

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

Merge "Remove unreachable condition"

parents 853996e7 e5b052ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1029,7 +1029,7 @@ bool ToneGenerator::startTone(tone_type toneType, int durationMs) {
    bool lResult = false;
    status_t lStatus;

    if ((toneType < 0) || (toneType >= NUM_TONES))
    if (toneType >= NUM_TONES)
        return lResult;

    toneType = getToneForRegion(toneType);