mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Make some functions which return unused values void (mostly found by lint) and
tweak a redundant expression in window_pane_set_mode.
This commit is contained in:
@ -83,20 +83,19 @@ options_find(struct options *oo, const char *name)
|
||||
return (o);
|
||||
}
|
||||
|
||||
int
|
||||
void
|
||||
options_remove(struct options *oo, const char *name)
|
||||
{
|
||||
struct options_entry *o;
|
||||
|
||||
if ((o = options_find1(oo, name)) == NULL)
|
||||
return (-1);
|
||||
return;
|
||||
|
||||
SPLAY_REMOVE(options_tree, &oo->tree, o);
|
||||
xfree(o->name);
|
||||
if (o->type == OPTIONS_STRING)
|
||||
xfree(o->value.string);
|
||||
xfree(o);
|
||||
return (0);
|
||||
}
|
||||
|
||||
void printflike3
|
||||
|
Reference in New Issue
Block a user