diff options
author | reed <reed@google.com> | 2016-05-26 12:13:26 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-26 12:13:26 -0700 |
commit | 497290824f8d2eb6705fd2785e1851cecf9e2b03 (patch) | |
tree | e800d6044b1d3ea35370be453078859f01dc01ab /src/core | |
parent | 649becde3bced57342e009a52d302a19d19f0828 (diff) |
add more SK_WARN_UNUSED_RESULT attributes to functions that ignore out-params if they fail
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2012943003
TBR=
Review-Url: https://codereview.chromium.org/2012943003
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkCubicClipper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkCubicClipper.h b/src/core/SkCubicClipper.h index 617086edb9..f00c09ab5f 100644 --- a/src/core/SkCubicClipper.h +++ b/src/core/SkCubicClipper.h @@ -24,9 +24,9 @@ public: void setClip(const SkIRect& clip); - bool clipCubic(const SkPoint src[4], SkPoint dst[4]); + bool SK_WARN_UNUSED_RESULT clipCubic(const SkPoint src[4], SkPoint dst[4]); - static bool ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t); + static bool SK_WARN_UNUSED_RESULT ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t); private: SkRect fClip; }; |