From: Axel Wagner Date: Sat, 7 Aug 2010 00:37:12 +0000 (+0200) Subject: Correct behaviour of parsing null-values in src/outputs.c X-Git-Tag: 4.0.1~7^2~81 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7ba3183df602975f79eb04584327ad2b1887581;p=i3%2Fi3 Correct behaviour of parsing null-values in src/outputs.c --- 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;