aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPath.cpp
diff options
context:
space:
mode:
authorGravatar dongseong.hwang <dongseong.hwang@intel.com>2015-04-30 05:53:27 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-30 05:53:27 -0700
commit181d7ba4cdb55e3fd53811200d5f7beb362b2437 (patch)
tree6959ae3a4cb2aab51bdf83a66efc9f786529e182 /src/core/SkPath.cpp
parent10fb0a6df8f8dd7bd432cfa98faa6c9d1b404384 (diff)
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]
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r--src/core/SkPath.cpp2
1 files changed, 0 insertions, 2 deletions
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<int>(fLastMoveToIndex, that.fLastMoveToIndex);