From d73f1748dbd0d237d5817af93f5152a875cc03c1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 5 Mar 2010 01:59:52 +0100 Subject: [PATCH] Remove superfluous definitions (Thanks Merovius) --- src/workspace.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/workspace.c b/src/workspace.c index a579bf1d..70b034ab 100644 --- a/src/workspace.c +++ b/src/workspace.c @@ -291,7 +291,6 @@ Workspace *get_first_workspace_for_screen(Output *output) { if (result == NULL) { /* No assignment found, returning first unused workspace */ - Workspace *ws; TAILQ_FOREACH(ws, workspaces, workspaces) { if (ws->output != NULL) continue; @@ -304,7 +303,6 @@ Workspace *get_first_workspace_for_screen(Output *output) { if (result == NULL) { DLOG("No existing free workspace found to assign, creating a new one\n"); - Workspace *ws; int last_ws = 0; TAILQ_FOREACH(ws, workspaces, workspaces) last_ws = ws->num; -- 2.39.5