diff options
author | nicm <nicm> | 2019-05-12 18:16:33 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-05-12 18:16:33 +0000 |
commit | 00f19b7f9160f32b3736da08116e5ea4f2409bb1 (patch) | |
tree | f025c269067ac4f75725c5ac7bcf2a418a653540 /cmd-show-options.c | |
parent | a13165523598fa7670ebc95f3cfb5c892d08745a (diff) | |
download | rtmux-00f19b7f9160f32b3736da08116e5ea4f2409bb1.tar.gz rtmux-00f19b7f9160f32b3736da08116e5ea4f2409bb1.tar.bz2 rtmux-00f19b7f9160f32b3736da08116e5ea4f2409bb1.zip |
Fix some indentation and dead assignments.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r-- | cmd-show-options.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c index 80e9cd42..8211e8da 100644 --- a/cmd-show-options.c +++ b/cmd-show-options.c @@ -90,10 +90,8 @@ cmd_show_options_exec(struct cmd *self, struct cmdq_item *item) struct options_entry *o; window = (self->entry == &cmd_show_window_options_entry); - if (args->argc == 0) { - scope = options_scope_from_flags(args, window, fs, &oo, &cause); + if (args->argc == 0) return (cmd_show_options_all(self, item, oo)); - } argument = format_single(item, args->argv[0], c, s, wl, NULL); name = options_match(argument, &idx, &ambiguous); |