From 7e73f95ebb5488a3b3dc0482db9457979f0b27b4 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Mon, 24 Jul 2023 21:17:51 +1000 Subject: [PATCH] Don't initialise ->data in pane_init() There may not be a ->data any more, and the caller initialises this if needed. Signed-off-by: NeilBrown --- core-pane.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core-pane.c b/core-pane.c index f2746098..a76fbe4c 100644 --- a/core-pane.c +++ b/core-pane.c @@ -62,7 +62,6 @@ static void pane_init(struct pane *p safe, struct pane *par) p->abs_z = 0; p->focus = NULL; p->handle = NULL; - p->data = safe_cast NULL; p->damaged = 0; p->attrs = NULL; p->refs = 1; -- 2.39.5