From 0da23a5184cf8ee658c4f1ac45b798ddf7e73002 Mon Sep 17 00:00:00 2001 From: "tomhudson@google.com" Date: Mon, 3 Dec 2012 11:41:21 +0000 Subject: Tweak an enum declaration to make the clang compiler happy. This exposes our "unknown type" to users, which is a loss of encapsulation. TBR=robertphillips http://codereview.appspot.com/6865050/ git-svn-id: http://skia.googlecode.com/svn/trunk@6641 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkRRect.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/core/SkRRect.cpp b/src/core/SkRRect.cpp index db1c7dd965..5740a19c82 100644 --- a/src/core/SkRRect.cpp +++ b/src/core/SkRRect.cpp @@ -276,12 +276,9 @@ void SkRRect::validate() const { SkASSERT(!fRect.isEmpty()); SkASSERT(!allRadiiZero && !allRadiiSame && !allCornersSquare); break; -#if 0 - // error: case value not in enumerated type 'SkRRect::Type case kUnknown_Type: // no limits on this break; -#endif } } #endif // SK_DEBUG -- cgit v1.2.3