Eliminate Linux compile warnings throughout animator/ with variable
initializations, missing braces.
git-svn-id: http://skia.googlecode.com/svn/trunk@1991 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/animator/SkAnimateSet.cpp b/src/animator/SkAnimateSet.cpp
index da27c3b..d0b4dfc 100644
--- a/src/animator/SkAnimateSet.cpp
+++ b/src/animator/SkAnimateSet.cpp
@@ -78,8 +78,9 @@
SkASSERT(fValues.getType() == outType);
if (fFieldInfo->fType == SkType_Array)
comps = fValues.count();
- else
+ else {
SkASSERT(fValues.count() == comps);
+ }
}
if (formula.size() > 0) {
comps = 1;