From 181d7ba4cdb55e3fd53811200d5f7beb362b2437 Mon Sep 17 00:00:00 2001 From: "dongseong.hwang" Date: Thu, 30 Apr 2015 05:53:27 -0700 Subject: Fix build warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to true [-Wtautological-undefined-compare] Review URL: https://codereview.chromium.org/1110353003 --- src/core/SkPath.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core/SkPath.cpp') diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index aa99ce4f0e..812b49bf3b 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -179,8 +179,6 @@ bool operator==(const SkPath& a, const SkPath& b) { } void SkPath::swap(SkPath& that) { - SkASSERT(&that != NULL); - if (this != &that) { fPathRef.swap(&that.fPathRef); SkTSwap(fLastMoveToIndex, that.fLastMoveToIndex); -- cgit v1.2.3