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

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

Merge "Fix static analyzer warnings." am: 5b843179 am: 96e489dc am: 369b2032

am: 97f05421

Change-Id: I96cf3364a60641823caf144a856d0fecb2bdfe64
parents 628f0c2a 97f05421
Loading
Loading
Loading
Loading
+6 −4
Original line number Original line Diff line number Diff line
@@ -182,10 +182,12 @@ Value& Value::swap(Value &rhs)


Value& Value::operator=(const Value& rhs)
Value& Value::operator=(const Value& rhs)
{
{
    if (this != &rhs) {
        delete mContent;
        delete mContent;
        mContent = rhs.mContent
        mContent = rhs.mContent
            ? rhs.mContent->clone()
            ? rhs.mContent->clone()
            : NULL;
            : NULL;
    }
    return *this;
    return *this;
}
}