mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Use __unused rather than rolling our own.
This commit is contained in:
8
window.c
8
window.c
@ -916,13 +916,13 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv,
|
||||
}
|
||||
|
||||
void
|
||||
window_pane_timer_callback(unused int fd, unused short events, void *data)
|
||||
window_pane_timer_callback(__unused int fd, __unused short events, void *data)
|
||||
{
|
||||
window_pane_read_callback(NULL, data);
|
||||
}
|
||||
|
||||
void
|
||||
window_pane_read_callback(unused struct bufferevent *bufev, void *data)
|
||||
window_pane_read_callback(__unused struct bufferevent *bufev, void *data)
|
||||
{
|
||||
struct window_pane *wp = data;
|
||||
struct evbuffer *evb = wp->event->input;
|
||||
@ -968,8 +968,8 @@ start_timer:
|
||||
}
|
||||
|
||||
void
|
||||
window_pane_error_callback(unused struct bufferevent *bufev, unused short what,
|
||||
void *data)
|
||||
window_pane_error_callback(__unused struct bufferevent *bufev,
|
||||
__unused short what, void *data)
|
||||
{
|
||||
struct window_pane *wp = data;
|
||||
|
||||
|
Reference in New Issue
Block a user