diff options
author | Thomas Adam <thomas@xteddy.org> | 2023-09-08 10:01:10 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2023-09-08 10:01:10 +0100 |
commit | f68d35c52962c095e81db0de28219529fd6f355e (patch) | |
tree | 7dcee2a03038eca164c3738f3186d8eab484ee7a /format.c | |
parent | 1a1290f30b21bcc07e64eb7cb837a3c522779685 (diff) | |
parent | c02bc4dbe9692fb8f698509a35c3abccf895f263 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'format.c')
-rw-r--r-- | format.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1126,7 +1126,6 @@ format_cb_mouse_word(struct format_tree *ft) struct window_pane *wp; struct grid *gd; u_int x, y; - char *s; if (!ft->m.valid) return (NULL); @@ -1139,7 +1138,7 @@ format_cb_mouse_word(struct format_tree *ft) if (!TAILQ_EMPTY(&wp->modes)) { if (TAILQ_FIRST(&wp->modes)->mode == &window_copy_mode || TAILQ_FIRST(&wp->modes)->mode == &window_view_mode) - return (s = window_copy_get_word(wp, x, y)); + return (window_copy_get_word(wp, x, y)); return (NULL); } gd = wp->base.grid; @@ -4185,7 +4184,7 @@ static char * format_loop_clients(struct format_expand_state *es, const char *fmt) { struct format_tree *ft = es->ft; - struct client *c = ft->client; + struct client *c; struct cmdq_item *item = ft->item; struct format_tree *nft; struct format_expand_state next; |