summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cycle.c10
-rw-r--r--src/parserc.c1
2 files changed, 2 insertions, 9 deletions
diff --git a/src/cycle.c b/src/cycle.c
index a043016e4..a4cfac978 100644
--- a/src/cycle.c
+++ b/src/cycle.c
@@ -94,18 +94,12 @@ clientCycleEventFilter (XEvent * xevent, gpointer data)
{
case DestroyNotify:
if ((removed = myScreenGetClientFromWindow (screen_info, ((XDestroyWindowEvent *) xevent)->window, SEARCH_WINDOW)) == NULL)
- {
- /* No need to go any further */
- break;
- }
+ break; /* No need to go any further */
gone |= (c == removed);
/* Walk through */
case UnmapNotify:
if (!removed && (removed = myScreenGetClientFromWindow (screen_info, ((XUnmapEvent *) xevent)->window, SEARCH_WINDOW)) == NULL)
- {
- /* No need to go any further */
- break;
- }
+ break; /* No need to go any further */
gone |= (c == removed);
c = tabwinRemoveClient(passdata->tabwin, removed);
passdata->c = c;
diff --git a/src/parserc.c b/src/parserc.c
index 56cd056a3..5f2eb6658 100644
--- a/src/parserc.c
+++ b/src/parserc.c
@@ -344,7 +344,6 @@ getBoolValue (const gchar *option, Settings *rc)
{
if (rc[i].value == NULL)
return FALSE;
- g_print ("Reading option %s\n", option);
g_return_val_if_fail(G_VALUE_TYPE(rc[i].value) == G_TYPE_BOOLEAN, FALSE);
return g_value_get_boolean(rc[i].value);
}