aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrDashingEffect.cpp
diff options
context:
space:
mode:
authorGravatar dongseong.hwang <dongseong.hwang@intel.com>2015-04-28 12:47:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-28 12:47:48 -0700
commit79612de00f66408cff253605fbe2bb2a9e2b27ff (patch)
treeaee7e4f479d1f13c572cacc47d216e963d12eea8 /src/gpu/effects/GrDashingEffect.cpp
parentfcabe429a4cd55d4b0b6c3e7b8b648fe8b35924d (diff)
Remove useless SkASSERT in SkRect.h and SkRegion.h
The pointer of reference is always not-null. It causes >50k lines of warnning when chromium is compiled by clang. Warning looks like ../../third_party/skia/include/core/SkRect.h:284:19: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion] do { if (&r) break; SkNO_RETURN_HINT(); SkDebugf_FileLine("../../third_party/skia/include/core/SkRect.h", 284, false, "%s:%d: failed assertion \"%s\"\n", "../../third_party/skia/include/core/SkRect.h", 284, "&r"); SkDebugf_FileLine("../../third_party/skia/include/core/SkRect.h", 284, true, "SK_CRASH"); } while (false); Review URL: https://codereview.chromium.org/1111013002
Diffstat (limited to 'src/gpu/effects/GrDashingEffect.cpp')
0 files changed, 0 insertions, 0 deletions