aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils/SkInterpolator.cpp
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:00 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-02-10 15:44:00 -0800
commit8552a21d334cbc7971b109f27d05aea9d7690e92 (patch)
treef320ecd127fe33c6ce458087c70ce577e36e9465 /src/utils/SkInterpolator.cpp
parent95b316d35f73630072e033e6d68d7000e652681f (diff)
downloadexternal_skia-8552a21d334cbc7971b109f27d05aea9d7690e92.zip
external_skia-8552a21d334cbc7971b109f27d05aea9d7690e92.tar.gz
external_skia-8552a21d334cbc7971b109f27d05aea9d7690e92.tar.bz2
auto import from //branches/cupcake/...@130745
Diffstat (limited to 'src/utils/SkInterpolator.cpp')
-rw-r--r--src/utils/SkInterpolator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkInterpolator.cpp b/src/utils/SkInterpolator.cpp
index e4ecd95..c5bb448 100644
--- a/src/utils/SkInterpolator.cpp
+++ b/src/utils/SkInterpolator.cpp
@@ -80,7 +80,7 @@ SkInterpolatorBase::Result SkInterpolatorBase::timeToT(SkMSec time, SkScalar* T,
SkASSERT(fFrameCount > 0);
Result result = kNormal_Result;
if (fRepeat != SK_Scalar1) {
- SkMSec startTime, endTime;
+ SkMSec startTime = 0, endTime = 0; // initialize to avoid warning
this->getDuration(&startTime, &endTime);
SkMSec totalTime = endTime - startTime;
SkMSec offsetTime = time - startTime;