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

Fix building with clang
master
emersion 6 years ago committed by GitHub
commit 0bc819dd8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save