From e7ba3183df602975f79eb04584327ad2b1887581 Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Sat, 7 Aug 2010 02:37:12 +0200 Subject: [PATCH] Correct behaviour of parsing null-values in src/outputs.c --- i3bar/src/outputs.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/i3bar/src/outputs.c b/i3bar/src/outputs.c index ada297a3..0f035ac0 100644 --- a/i3bar/src/outputs.c +++ b/i3bar/src/outputs.c @@ -22,11 +22,6 @@ struct outputs_json_params { static int outputs_null_cb(void *params_) { struct outputs_json_params *params = (struct outputs_json_params*) params_; - if (strcmp(params->cur_key, "current_workspace")) { - /* FIXME: Is this the correct behavior? */ - return 0; - } - FREE(params->cur_key); return 1; -- 2.39.5