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

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

Merge "Fix static analyzer warnings."

parents 71f6de41 fbac608c
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -182,10 +182,12 @@ Value& Value::swap(Value &rhs)

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