From 0717b76715d9e98bb384ba9714d3815442e76db4 Mon Sep 17 00:00:00 2001 From: emersion Date: Sun, 10 Mar 2019 21:47:30 +0100 Subject: Fix crash in cmd_workspace when layer surface has focus --- sway/commands/workspace.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sway/commands/workspace.c') diff --git a/sway/commands/workspace.c b/sway/commands/workspace.c index 65a3f407..614140e0 100644 --- a/sway/commands/workspace.c +++ b/sway/commands/workspace.c @@ -181,7 +181,6 @@ struct cmd_results *cmd_workspace(int argc, char **argv) { ++argv; } - struct sway_workspace *ws = NULL; if (strcasecmp(argv[0], "number") == 0) { if (argc < 2) { -- cgit v1.2.3-54-g00ecf