Nits found with clang.

This commit is contained in:
nicm
2017-01-06 13:26:09 +00:00
parent 461217d0f0
commit cae0fbbe8c
4 changed files with 3 additions and 5 deletions

View File

@ -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);
}