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

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

Merge "Fix clang static anaylzer warnings." am: a97d58a2 am: 747d847f

am: 802529f4

Change-Id: I497397026dafe63a912927cbd1d8a0ca327399f4
parents 7ec584b1 802529f4
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;