From: reed Date: Thu, 26 May 2016 19:13:26 +0000 (-0700) Subject: add more SK_WARN_UNUSED_RESULT attributes to functions that ignore out-params if... X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~129^2~395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=497290824f8d2eb6705fd2785e1851cecf9e2b03;p=platform%2Fupstream%2FlibSkiaSharp.git 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 --- diff --git a/src/core/SkCubicClipper.h b/src/core/SkCubicClipper.h index 617086e..f00c09a 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; };