diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-12 15:24:29 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-04-12 15:24:29 +0000 |
commit | 31d8191a740e978b1082562f9b21a20ad9e43371 (patch) | |
tree | 781c2fac7bf94491fca77820355ae2b32467a49a /src/core | |
parent | ad7d481ea9839e0f4c497e58cabe209ffc1e4683 (diff) |
Compiler warning/error patch for r8658
git-svn-id: http://skia.googlecode.com/svn/trunk@8659 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkPictureRecord.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index 7fd8a1f0b8..f4086993ad 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp @@ -564,7 +564,7 @@ void SkPictureRecord::restore() { } uint32_t initialOffset, size; - size_t opt; + size_t opt = 0; if (!(fRecordFlags & SkPicture::kDisableRecordOptimizations_RecordingFlag)) { for (opt = 0; opt < SK_ARRAY_COUNT(gPictureRecordOpts); ++opt) { if ((*gPictureRecordOpts[opt].fProc)(&fWriter, fRestoreOffsetStack.top(), &fPaints)) { |