summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authornicm <nicm>2019-05-12 18:16:33 +0000
committernicm <nicm>2019-05-12 18:16:33 +0000
commit00f19b7f9160f32b3736da08116e5ea4f2409bb1 (patch)
treef025c269067ac4f75725c5ac7bcf2a418a653540 /cmd-show-options.c
parenta13165523598fa7670ebc95f3cfb5c892d08745a (diff)
Fix some indentation and dead assignments.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r--cmd-show-options.c4
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);