Remove superfluous definitions (Thanks Merovius)

This commit is contained in:
Michael Stapelberg 2010-03-05 01:59:52 +01:00
parent 85437877e8
commit d73f1748db
1 changed files with 0 additions and 2 deletions

View File

@ -291,7 +291,6 @@ Workspace *get_first_workspace_for_screen(Output *output) {
if (result == NULL) { if (result == NULL) {
/* No assignment found, returning first unused workspace */ /* No assignment found, returning first unused workspace */
Workspace *ws;
TAILQ_FOREACH(ws, workspaces, workspaces) { TAILQ_FOREACH(ws, workspaces, workspaces) {
if (ws->output != NULL) if (ws->output != NULL)
continue; continue;
@ -304,7 +303,6 @@ Workspace *get_first_workspace_for_screen(Output *output) {
if (result == NULL) { if (result == NULL) {
DLOG("No existing free workspace found to assign, creating a new one\n"); DLOG("No existing free workspace found to assign, creating a new one\n");
Workspace *ws;
int last_ws = 0; int last_ws = 0;
TAILQ_FOREACH(ws, workspaces, workspaces) TAILQ_FOREACH(ws, workspaces, workspaces)
last_ws = ws->num; last_ws = ws->num;