diff options
Diffstat (limited to 'sway/commands')
-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) { } 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) { |