diff options
author | emersion <contact@emersion.fr> | 2018-11-08 14:28:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-08 14:28:37 +0100 |
commit | 0bc819dd8b09da29e538667b60e78cb09fa5dc6c (patch) | |
tree | f81b4308292ba8944d50c1c8cda473c3e789a424 | |
parent | Merge pull request #3087 from RedSoxFan/side-gaps (diff) | |
parent | Fix building with clang (diff) | |
download | sway-0bc819dd8b09da29e538667b60e78cb09fa5dc6c.tar.gz sway-0bc819dd8b09da29e538667b60e78cb09fa5dc6c.tar.zst sway-0bc819dd8b09da29e538667b60e78cb09fa5dc6c.zip |
Merge pull request #3089 from sghctoma/fix-clang-build
Fix building with clang
-rw-r--r-- | sway/commands/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/swap.c b/sway/commands/swap.c index 23e8d583..99051395 100644 --- a/sway/commands/swap.c +++ b/sway/commands/swap.c | |||
@@ -181,7 +181,7 @@ struct cmd_results *cmd_swap(int argc, char **argv) { | |||
181 | } | 181 | } |
182 | 182 | ||
183 | struct sway_container *current = config->handler_context.container; | 183 | struct sway_container *current = config->handler_context.container; |
184 | struct sway_container *other; | 184 | struct sway_container *other = NULL; |
185 | 185 | ||
186 | char *value = join_args(argv + 3, argc - 3); | 186 | char *value = join_args(argv + 3, argc - 3); |
187 | if (strcasecmp(argv[2], "id") == 0) { | 187 | if (strcasecmp(argv[2], "id") == 0) { |