-/* $OpenBSD: format.c,v 1.283 2021/04/12 06:50:25 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.284 2021/06/10 07:45:43 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
value = xstrdup("0");
} else {
format_log(es, "search '%s' pane %%%u", new, wp->id);
- value = format_search(fm, wp, new);
+ value = format_search(search, wp, new);
}
free(new);
} else if (cmp != NULL) {
-/* $OpenBSD: server.c,v 1.197 2021/03/11 07:08:18 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.198 2021/06/10 07:45:43 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
format_tidy_jobs();
- log_debug("%s: took %llu milliseconds", __func__, get_timer() - t);
+ log_debug("%s: took %llu milliseconds", __func__,
+ (unsigned long long)(get_timer() - t));
evtimer_add(&server_ev_tidy, &tv);
}
-/* $OpenBSD: tty-term.c,v 1.89 2021/06/10 07:28:45 nicm Exp $ */
+/* $OpenBSD: tty-term.c,v 1.90 2021/06/10 07:45:43 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
ent = &tty_term_codes[i];
switch (ent->type) {
case TTYCODE_NONE:
- break;
+ continue;
case TTYCODE_STRING:
s = tigetstr((char *)ent->name);
if (s == NULL || s == (char *)-1)
-/* $OpenBSD: window-buffer.c,v 1.33 2021/04/12 06:50:25 nicm Exp $ */
+/* $OpenBSD: window-buffer.c,v 1.34 2021/06/10 07:45:43 nicm Exp $ */
/*
* Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com>
struct window_buffer_modedata *data = modedata;
struct window_buffer_itemdata *item = itemdata;
struct format_tree *ft;
- struct session *s;
- struct winlink *wl;
- struct window_pane *wp;
+ struct session *s = NULL;
+ struct winlink *wl = NULL;
+ struct window_pane *wp = NULL;
struct paste_buffer *pb;
char *expanded;
key_code key;