diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2013-03-26 10:54:48 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2013-03-26 10:54:48 +0000 |
commit | 771d7db3a6e19cd773b2f1a2547ec3db5f75b07f (patch) | |
tree | b52d33cf83980eadfa39b20aa14627905774987a /control-notify.c | |
parent | 972da2d498d6e410fd97c55fb422af7caf464622 (diff) | |
download | rtmux-771d7db3a6e19cd773b2f1a2547ec3db5f75b07f.tar.gz rtmux-771d7db3a6e19cd773b2f1a2547ec3db5f75b07f.tar.bz2 rtmux-771d7db3a6e19cd773b2f1a2547ec3db5f75b07f.zip |
Fix compiler warnings, missing #include. From Thomas Adam.
Diffstat (limited to 'control-notify.c')
-rw-r--r-- | control-notify.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/control-notify.c b/control-notify.c index 0931c23a..a298cdc5 100644 --- a/control-notify.c +++ b/control-notify.c @@ -99,14 +99,12 @@ void control_notify_window_unlinked(unused struct session *s, struct window *w) { struct client *c; - struct session *cs; u_int i; for (i = 0; i < ARRAY_LENGTH(&clients); i++) { c = ARRAY_ITEM(&clients, i); if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL) continue; - cs = c->session; control_write(c, "%%window-close @%u", w->id); } @@ -136,14 +134,12 @@ void control_notify_window_renamed(struct window *w) { struct client *c; - struct session *s; u_int i; for (i = 0; i < ARRAY_LENGTH(&clients); i++) { c = ARRAY_ITEM(&clients, i); if (!CONTROL_SHOULD_NOTIFY_CLIENT(c) || c->session == NULL) continue; - s = c->session; control_write(c, "%%window-renamed @%u %s", w->id, w->name); } |