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

Commit 747d847f authored by Manoj Gupta's avatar Manoj Gupta Committed by android-build-merger
Browse files

Merge "Fix clang static anaylzer warnings."

am: a97d58a2

Change-Id: Id66bd914d41190df5c3dc29968fab5b7f942851d
parents 6ac4d2a4 a97d58a2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1851,7 +1851,7 @@ intptr_t Parcel::readIntPtr() const

status_t Parcel::readBool(bool *pArg) const
{
    int32_t tmp;
    int32_t tmp = 0;
    status_t ret = readInt32(&tmp);
    *pArg = (tmp != 0);
    return ret;
@@ -1864,7 +1864,7 @@ bool Parcel::readBool() const

status_t Parcel::readChar(char16_t *pArg) const
{
    int32_t tmp;
    int32_t tmp = 0;
    status_t ret = readInt32(&tmp);
    *pArg = char16_t(tmp);
    return ret;
@@ -1877,7 +1877,7 @@ char16_t Parcel::readChar() const

status_t Parcel::readByte(int8_t *pArg) const
{
    int32_t tmp;
    int32_t tmp = 0;
    status_t ret = readInt32(&tmp);
    *pArg = int8_t(tmp);
    return ret;