diff options
author | 2015-04-30 05:53:27 -0700 | |
---|---|---|
committer | 2015-04-30 05:53:27 -0700 | |
commit | 181d7ba4cdb55e3fd53811200d5f7beb362b2437 (patch) | |
tree | 6959ae3a4cb2aab51bdf83a66efc9f786529e182 /src/core/SkPath.cpp | |
parent | 10fb0a6df8f8dd7bd432cfa98faa6c9d1b404384 (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]
Review URL: https://codereview.chromium.org/1110353003
Diffstat (limited to 'src/core/SkPath.cpp')
-rw-r--r-- | src/core/SkPath.cpp | 2 |
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); |