diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:00 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-02-10 15:44:00 -0800 |
commit | 8552a21d334cbc7971b109f27d05aea9d7690e92 (patch) | |
tree | f320ecd127fe33c6ce458087c70ce577e36e9465 /src/utils/SkInterpolator.cpp | |
parent | 95b316d35f73630072e033e6d68d7000e652681f (diff) | |
download | external_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.cpp | 2 |
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; |