From: Po Lu Date: Tue, 4 Jan 2022 08:14:40 +0000 (+0000) Subject: Fix unused variable warning in last change X-Git-Tag: emacs-29.0.90~3268 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9651be5b48691ced56230522e10c05a04455e4a3;p=emacs.git Fix unused variable warning in last change * src/haiku_draw_support.c (BBitmap_transform_bitmap): Fix unused variable warning. --- diff --git a/src/haiku_draw_support.cc b/src/haiku_draw_support.cc index 3e17a08811c..5d355ac2058 100644 --- a/src/haiku_draw_support.cc +++ b/src/haiku_draw_support.cc @@ -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);