From bffb72f7b27699e6187d4a7236ff9ed30b2c8b37 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Fri, 4 Dec 2015 12:03:50 +1100 Subject: [PATCH] Remove 'buf' from pane_text It isn't used. Signed-off-by: NeilBrown --- core-pane.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/core-pane.c b/core-pane.c index ed800098..9b0a83bc 100644 --- a/core-pane.c +++ b/core-pane.c @@ -470,13 +470,11 @@ void pane_clear(struct pane *p, char *attrs) void pane_text(struct pane *p, wchar_t ch, char *attrs, int x, int y) { struct cmd_info ci = {0}; - char buf[5]; ci.key = "pane-text"; ci.focus = p; ci.x = x; ci.y = y; - ci.str = buf; ci.str2 = attrs; ci.extra = ch; -- 2.39.5