aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/animator/SkDisplayApply.cpp
diff options
context:
space:
mode:
authorGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-29 13:20:06 +0000
committerGravatar tomhudson@google.com <tomhudson@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-07-29 13:20:06 +0000
commita7ed3cc6371e50a5beb3750c475fe23665dafa7d (patch)
tree0b357d964ec8395372b1376f7a6bdbaf1759f2c2 /src/animator/SkDisplayApply.cpp
parent221db3c3364eb110bc03db78cb09aae51d117b27 (diff)
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
Diffstat (limited to 'src/animator/SkDisplayApply.cpp')
-rw-r--r--src/animator/SkDisplayApply.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/animator/SkDisplayApply.cpp b/src/animator/SkDisplayApply.cpp
index d3c24a5670..d54ee2600f 100644
--- a/src/animator/SkDisplayApply.cpp
+++ b/src/animator/SkDisplayApply.cpp
@@ -138,8 +138,9 @@ void SkApply::applyValues(int animatorIndex, SkOperand* values, int count,
animator->packARGB(&values->fScalar, count, &converted);
values = converted.begin();
count = converted.count();
- } else
+ } else {
SkASSERT(count == 1);
+ }
}
// SkASSERT(type == SkType_ARGB || type == SkType_String ||info->isSettable());
if (type == SkType_String || type == SkType_DynamicString)