diff options
Diffstat (limited to 'src/core/SkRegion.cpp')
-rw-r--r-- | src/core/SkRegion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRegion.cpp b/src/core/SkRegion.cpp index 30978854c5..ba185ae38c 100644 --- a/src/core/SkRegion.cpp +++ b/src/core/SkRegion.cpp @@ -1200,7 +1200,7 @@ static bool validate_run(const int32_t* runs, return false; // too many intervals } bool firstInterval = true; - int32_t lastRight; // check that x-intervals are distinct and ordered. + int32_t lastRight = 0; // check that x-intervals are distinct and ordered. while (xIntervals-- > 0) { rect.fLeft = *runs++; rect.fRight = *runs++; |