remove trailing whitespace and empty lines

This commit is contained in:
Michael Stapelberg 2012-01-08 11:44:01 +00:00
parent d0b3a943f0
commit e3051629d1
1 changed files with 2 additions and 4 deletions

View File

@ -529,7 +529,7 @@ focus:
tree_render(); tree_render();
} }
| TOK_FOCUS TOK_OUTPUT STR | TOK_FOCUS TOK_OUTPUT STR
{ {
owindow *current; owindow *current;
HANDLE_EMPTY_MATCH; HANDLE_EMPTY_MATCH;
@ -552,7 +552,7 @@ focus:
output = get_output_next(D_DOWN, current_output); output = get_output_next(D_DOWN, current_output);
else else
output = get_output_by_name($3); output = get_output_by_name($3);
free($3); free($3);
if (!output) { if (!output) {
@ -560,8 +560,6 @@ focus:
break; break;
} }
/* get visible workspace on output */ /* get visible workspace on output */
Con *ws = NULL; Con *ws = NULL;
GREP_FIRST(ws, output_get_content(output->con), workspace_is_visible(child)); GREP_FIRST(ws, output_get_content(output->con), workspace_is_visible(child));