=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/format.c,v retrieving revision 1.317 retrieving revision 1.318 diff -u -r1.317 -r1.318 --- src/usr.bin/tmux/format.c 2023/08/17 14:10:28 1.317 +++ src/usr.bin/tmux/format.c 2023/09/08 06:52:31 1.318 @@ -1,4 +1,4 @@ -/* $OpenBSD: format.c,v 1.317 2023/08/17 14:10:28 nicm Exp $ */ +/* $OpenBSD: format.c,v 1.318 2023/09/08 06:52:31 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -1126,7 +1126,6 @@ struct window_pane *wp; struct grid *gd; u_int x, y; - char *s; if (!ft->m.valid) return (NULL); @@ -1139,7 +1138,7 @@ 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 @@ 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;