=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/names.c,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- src/usr.bin/tmux/names.c 2016/10/11 13:21:59 1.37 +++ src/usr.bin/tmux/names.c 2017/01/13 11:56:43 1.38 @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.37 2016/10/11 13:21:59 nicm Exp $ */ +/* $OpenBSD: names.c,v 1.38 2017/01/13 11:56:43 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -121,7 +121,8 @@ format_window_name(struct window *w) { struct format_tree *ft; - char *fmt, *name; + const char *fmt; + char *name; ft = format_create(NULL, 0); format_defaults_window(ft, w);