=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/window.c,v retrieving revision 1.188 retrieving revision 1.189 diff -u -r1.188 -r1.189 --- src/usr.bin/tmux/window.c 2017/04/20 09:39:07 1.188 +++ src/usr.bin/tmux/window.c 2017/04/20 09:43:45 1.189 @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.188 2017/04/20 09:39:07 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.189 2017/04/20 09:43:45 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -709,12 +709,12 @@ } } -/* Retuns the printable flags on a window, empty string if no flags set. */ const char * -window_printable_flags(struct session *s, struct winlink *wl) +window_printable_flags(struct winlink *wl) { - static char flags[32]; - int pos; + struct session *s = wl->session; + static char flags[32]; + int pos; pos = 0; if (wl->flags & WINLINK_ACTIVITY)