From b8c07107fa332651cf2281fe8d2f90dfc122b588 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Wed, 19 May 2021 14:20:58 +0300 Subject: Cleanup --- src/ui/widget.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/ui/widget.c b/src/ui/widget.c index 64f586ce..d31f7577 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c @@ -323,7 +323,6 @@ static iBool setWidth_Widget_(iWidget *d, int width) { d->rect.size.x = width; TRACE(d, "width has changed to %d", width); if (class_Widget(d)->sizeChanged) { - const int oldHeight = d->rect.size.y; class_Widget(d)->sizeChanged(d); } return iTrue; -- cgit v1.2.3