diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-26 21:37:13 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-26 21:37:13 +0000 |
commit | 4ca857e0e922d0afeb7896ff62e9f47c0c36c535 (patch) | |
tree | 03a930475b6ada864aa9d2d72378b66f9a9fbdf0 /session.c | |
parent | 621dabd44e36c4bfdcd56e9e9730a9e10677e2bd (diff) | |
download | rtmux-4ca857e0e922d0afeb7896ff62e9f47c0c36c535.tar.gz rtmux-4ca857e0e922d0afeb7896ff62e9f47c0c36c535.tar.bz2 rtmux-4ca857e0e922d0afeb7896ff62e9f47c0c36c535.zip |
Remove a couple of unused arguments where possible, and add /* ARGSUSED */ to
the rest to reduce lint output.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -319,7 +319,7 @@ session_next_activity(struct session *s, struct winlink *wl) break; if (session_alert_has(s, wl, WINDOW_CONTENT)) break; - wl = winlink_next(&s->windows, wl); + wl = winlink_next(wl); } return (wl); } @@ -333,7 +333,7 @@ session_next(struct session *s, int activity) if (s->curw == NULL) return (-1); - wl = winlink_next(&s->windows, s->curw); + wl = winlink_next(s->curw); if (activity) wl = session_next_activity(s, wl); if (wl == NULL) { @@ -360,7 +360,7 @@ session_previous_activity(struct session *s, struct winlink *wl) break; if (session_alert_has(s, wl, WINDOW_CONTENT)) break; - wl = winlink_previous(&s->windows, wl); + wl = winlink_previous(wl); } return (wl); } @@ -374,7 +374,7 @@ session_previous(struct session *s, int activity) if (s->curw == NULL) return (-1); - wl = winlink_previous(&s->windows, s->curw); + wl = winlink_previous(s->curw); if (activity) wl = session_previous_activity(s, wl); if (wl == NULL) { |