Merge pull request #3089 from sghctoma/fix-clang-build

Fix building with clang
This commit is contained in:
emersion 2018-11-08 14:28:37 +01:00 committed by GitHub
commit 0bc819dd8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ struct cmd_results *cmd_swap(int argc, char **argv) {
}
struct sway_container *current = config->handler_context.container;
struct sway_container *other;
struct sway_container *other = NULL;
char *value = join_args(argv + 3, argc - 3);
if (strcasecmp(argv[2], "id") == 0) {