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

Commit 9c6496c2 authored by Robert Wu's avatar Robert Wu Committed by Android (Google) Code Review
Browse files

Merge "Fix strategy not used compiler warning"

parents cc7e3649 eb5c5a76
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -4084,7 +4084,6 @@ status_t AudioFlinger::moveEffectChain_l(audio_session_t sessionId,
    // transfer all effects one by one so that new effect chain is created on new thread with
    // correct buffer sizes and audio parameters and effect engines reconfigured accordingly
    sp<EffectChain> dstChain;
    uint32_t strategy = 0; // prevent compiler warning
    sp<EffectModule> effect = chain->getEffectFromId_l(0);
    Vector< sp<EffectModule> > removed;
    status_t status = NO_ERROR;
@@ -4109,7 +4108,6 @@ status_t AudioFlinger::moveEffectChain_l(audio_session_t sessionId,
                status = NO_INIT;
                break;
            }
            strategy = dstChain->strategy();
        }
        effect = chain->getEffectFromId_l(0);
    }