From: Michael Stapelberg Date: Sun, 8 Jan 2012 11:44:01 +0000 (+0000) Subject: remove trailing whitespace and empty lines X-Git-Tag: 4.2~151^2~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3051629d1ecb4eee01261209aa31d3c3063b9e3;p=i3%2Fi3 remove trailing whitespace and empty lines --- diff --git a/src/cmdparse.y b/src/cmdparse.y index 83a32a98..f3d31803 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -529,7 +529,7 @@ focus: tree_render(); } | TOK_FOCUS TOK_OUTPUT STR - { + { owindow *current; HANDLE_EMPTY_MATCH; @@ -552,7 +552,7 @@ focus: output = get_output_next(D_DOWN, current_output); else output = get_output_by_name($3); - + free($3); if (!output) { @@ -560,8 +560,6 @@ focus: break; } - - /* get visible workspace on output */ Con *ws = NULL; GREP_FIRST(ws, output_get_content(output->con), workspace_is_visible(child));