Avoid an unitialized warning on linux.

Review URL: https://codereview.appspot.com/7378050

git-svn-id: http://skia.googlecode.com/svn/trunk@7825 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2013-02-22 15:50:37 +00:00
parent c4dc831f7b
commit ad51132b1b

View File

@ -435,7 +435,9 @@ static void S32_D32_constX_shaderproc(const SkBitmapProcState& s,
SkASSERT(count > 0 && colors != NULL);
SkASSERT(1 == s.fBitmap->width());
int iY0, iY1, iSubY;
int iY0;
int iY1 SK_INIT_TO_AVOID_WARNING;
int iSubY SK_INIT_TO_AVOID_WARNING;
if (s.fDoFilter) {
SkBitmapProcState::MatrixProc mproc = s.getMatrixProc();