add default: to switch statement, to avoid warning/error for unhandled cases.
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Jul 2012 18:56:10 +0000 (18:56 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 11 Jul 2012 18:56:10 +0000 (18:56 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@4552 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkPath.cpp

index 77d0854..36d1837 100644 (file)
@@ -2501,6 +2501,8 @@ bool SkPath::contains(SkScalar x, SkScalar y) const {
         case SkPath::kInverseEvenOdd_FillType:
             w &= 1;
             break;
+        default:
+            break;
     }
     return SkToBool(w);
 }