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

Commit ad3f86a5 authored by Christopher Tate's avatar Christopher Tate Committed by android code review
Browse files

Merge "Fixed x86 GCC 4.6 compilation error about unused variable"

parents a10cc893 1f57f6e0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -274,10 +274,9 @@ void Shutdown(Context *rsc) {
    for (uint32_t ct = 0; ct < dc->mWorkers.mCount; ct++) {
        dc->mWorkers.mLaunchSignals[ct].set();
    }
    int status;
    void *res;
    for (uint32_t ct = 0; ct < dc->mWorkers.mCount; ct++) {
        status = pthread_join(dc->mWorkers.mThreadId[ct], &res);
        pthread_join(dc->mWorkers.mThreadId[ct], &res);
    }
    rsAssert(android_atomic_acquire_load(&dc->mWorkers.mRunningCount) == 0);