From e3051629d1ecb4eee01261209aa31d3c3063b9e3 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 8 Jan 2012 11:44:01 +0000 Subject: [PATCH] remove trailing whitespace and empty lines --- src/cmdparse.y | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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)); -- 2.39.5