Fix unused variable warning in last change

* src/haiku_draw_support.c (BBitmap_transform_bitmap): Fix
unused variable warning.
This commit is contained in:
Po Lu 2022-01-04 08:14:40 +00:00
parent a851e5a669
commit 9651be5b48

View file

@ -421,7 +421,6 @@ BBitmap_transform_bitmap (void *bitmap, void *mask, uint32_t m_color,
mk = rotate_bitmap_270 (mk);
}
BRect r = bm->Bounds ();
BRect n = BRect (0, 0, desw - 1, desh - 1);
BView vw (n, NULL, B_FOLLOW_NONE, 0);
BBitmap *dst = new BBitmap (n, bm->ColorSpace (), true);