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

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

Merge "libbinder: remove unnecessary check"

parents 6147c1f6 ade8989a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2645,7 +2645,7 @@ status_t Parcel::continueWrite(size_t desired)
                pthread_mutex_unlock(&gParcelGlobalAllocSizeLock);
                pthread_mutex_unlock(&gParcelGlobalAllocSizeLock);
                mData = data;
                mData = data;
                mDataCapacity = desired;
                mDataCapacity = desired;
            } else if (desired > mDataCapacity) {
            } else {
                mError = NO_MEMORY;
                mError = NO_MEMORY;
                return NO_MEMORY;
                return NO_MEMORY;
            }
            }