mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
Merge pull request #3089 from sghctoma/fix-clang-build
Fix building with clang
This commit is contained in:
commit
0bc819dd8b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user