aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-03 11:41:21 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-03 11:41:21 +0000
commit0da23a5184cf8ee658c4f1ac45b798ddf7e73002 (patch)
treee667bf6d6a840b9407fc72391c4df7c5a4238f01 /src
parent47c88995b4f5aa347c5a092539087c00c5df7c53 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/SkRRect.cpp3
1 files changed, 0 insertions, 3 deletions
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