diff options
| author | 2017-01-06 13:26:09 +0000 | |
|---|---|---|
| committer | 2017-01-06 13:26:09 +0000 | |
| commit | 07a4101d3bc59add46debd94e095c61c0adf35c9 (patch) | |
| tree | a94d5f1401dc54e88f6d4de1a38455c98bec2e01 /usr.bin/tmux/cmd-switch-client.c | |
| parent | Incremental search in copy mode (on for emacs keys by default) - much (diff) | |
| download | wireguard-openbsd-07a4101d3bc59add46debd94e095c61c0adf35c9.tar.xz wireguard-openbsd-07a4101d3bc59add46debd94e095c61c0adf35c9.zip | |
Nits found with clang.
Diffstat (limited to 'usr.bin/tmux/cmd-switch-client.c')
| -rw-r--r-- | usr.bin/tmux/cmd-switch-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-switch-client.c b/usr.bin/tmux/cmd-switch-client.c index 2b8f3549453..b4680165bef 100644 --- a/usr.bin/tmux/cmd-switch-client.c +++ b/usr.bin/tmux/cmd-switch-client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-switch-client.c,v 1.44 2016/10/16 19:04:05 nicm Exp $ */ +/* $OpenBSD: cmd-switch-client.c,v 1.45 2017/01/06 13:26:09 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |
