diff options
author | nicm <nicm> | 2017-01-06 13:26:09 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-06 13:26:09 +0000 |
commit | cae0fbbe8c7cc16ac38aa8149ef9b4e2a54bce0e (patch) | |
tree | 80c16bfe2c5b94acd1a2d149760178ee9ad858dd /cmd-switch-client.c | |
parent | 461217d0f0b347b688d6f41dcc997b984951aac1 (diff) |
Nits found with clang.
Diffstat (limited to 'cmd-switch-client.c')
-rw-r--r-- | cmd-switch-client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-switch-client.c b/cmd-switch-client.c index eb7c5351..81f70d9c 100644 --- a/cmd-switch-client.c +++ b/cmd-switch-client.c @@ -102,7 +102,7 @@ cmd_switch_client_exec(struct cmd *self, struct cmdq_item *item) } } - if (c != NULL && !args_has(args, 'E')) { + if (!args_has(args, 'E')) { update = options_get_string(s->options, "update-environment"); environ_update(update, c->environ, s->environ); } |