mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
window_add_pane cannot fail, so remove the unused cause argument and don't
bother to check for a NULL return.
This commit is contained in:
2
tmux.h
2
tmux.h
@ -1469,7 +1469,7 @@ struct window *window_create(const char *, const char *,
|
||||
const char *, const char **, u_int, u_int, u_int, char **);
|
||||
void window_destroy(struct window *);
|
||||
void window_set_active_pane(struct window *, struct window_pane *);
|
||||
struct window_pane *window_add_pane(struct window *, u_int, char **);
|
||||
struct window_pane *window_add_pane(struct window *, u_int);
|
||||
void window_resize(struct window *, u_int, u_int);
|
||||
void window_remove_pane(struct window *, struct window_pane *);
|
||||
struct window_pane *window_pane_at_index(struct window *, u_int);
|
||||
|
Reference in New Issue
Block a user