From: Michael Stapelberg Date: Fri, 5 Mar 2010 00:59:52 +0000 (+0100) Subject: Remove superfluous definitions (Thanks Merovius) X-Git-Tag: 3.e~6^2~121 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d73f1748dbd0d237d5817af93f5152a875cc03c1;p=i3%2Fi3 Remove superfluous definitions (Thanks Merovius) --- 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;