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

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

Merge "Fix clang static anaylzer warnings."

parents 28c9177f 6eb62056
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1711,7 +1711,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;
@@ -1724,7 +1724,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;
@@ -1737,7 +1737,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;