diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 19:54:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-21 19:54:22 +0000 |
commit | 76a9d9856272dc8210e1f2a2a832ef4455e2ca1e (patch) | |
tree | 860c48c3d9653999482c84bf5c669bf5e3c6122b /options.c | |
parent | 6945e86fd7540c610f7e58e4a964fed384048823 (diff) | |
download | rtmux-76a9d9856272dc8210e1f2a2a832ef4455e2ca1e.tar.gz rtmux-76a9d9856272dc8210e1f2a2a832ef4455e2ca1e.tar.bz2 rtmux-76a9d9856272dc8210e1f2a2a832ef4455e2ca1e.zip |
Make some functions which return unused values void (mostly found by lint) and
tweak a redundant expression in window_pane_set_mode.
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |