From 2a80ea54dde9484e451042d33690ff3968a96e40 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Sun, 27 Nov 2022 19:41:37 +0300 Subject: [PATCH] (widget_init): remove double assignments. Signed-off-by: Andrew Borodin --- lib/widget/widget-common.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/widget/widget-common.c b/lib/widget/widget-common.c index bc36e6d1e..0d9b9a45e 100644 --- a/lib/widget/widget-common.c +++ b/lib/widget/widget-common.c @@ -330,9 +330,6 @@ widget_init (Widget * w, const WRect * r, widget_cb_fn callback, widget_mouse_cb w->make_global = widget_default_make_global; w->make_local = widget_default_make_local; - w->make_global = widget_default_make_global; - w->make_local = widget_default_make_local; - w->find = widget_default_find; w->find_by_type = widget_default_find_by_type; w->find_by_id = widget_default_find_by_id;