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

Commit 802529f4 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

Change-Id: Ic74cc49d92fc6a661be461bca19b77b45e9a3a4e
parents 9cd659c8 747d847f
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;