Remove unnecessary pointer increment

These variables are about to go out of scope anyway, and will be
re-declared with the proper value on the next iteration of the loop.

Change-Id: I2d3cfa1c888057b98125c83854f6af817225d0b3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/309958
Commit-Queue: Leon Scroggins <scroggo@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
Auto-Submit: Leon Scroggins <scroggo@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Leon Scroggins III 2020-08-13 09:52:34 -04:00 committed by Skia Commit-Bot
parent 776c2841f8
commit 53ff19c852

View File

@ -439,8 +439,6 @@ bool equal_pixels(const SkPixmap& a, const SkPixmap& b) {
if (memcmp(aptr, bptr, a.width() * a.info().bytesPerPixel())) {
return false;
}
aptr += a.rowBytes();
bptr += b.rowBytes();
}
return true;
}