1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:47:44 +00:00

Fix some compilation warnings.

This commit is contained in:
Andreas Kling 2019-02-12 12:11:22 +01:00
parent f3c8821b0f
commit 7ce15f1c54
5 changed files with 8 additions and 8 deletions

View file

@ -282,7 +282,6 @@ void Painter::blit(const Point& position, const GraphicsBitmap& source, const Re
const int first_row = clipped_rect.top() - dst_rect.top();
const int last_row = clipped_rect.bottom() - dst_rect.top();
const int first_column = clipped_rect.left() - dst_rect.left();
const int last_column = clipped_rect.right() - dst_rect.left();
RGBA32* dst = m_target->scanline(clipped_rect.y()) + clipped_rect.x();
const RGBA32* src = source.scanline(src_rect.top() + first_row) + src_rect.left() + first_column;
const size_t dst_skip = m_target->width();