Correct behaviour of parsing null-values in src/outputs.c

This commit is contained in:
Axel Wagner 2010-08-07 02:37:12 +02:00
parent c03e850171
commit e7ba3183df
1 changed files with 0 additions and 5 deletions

View File

@ -22,11 +22,6 @@ struct outputs_json_params {
static int outputs_null_cb(void *params_) { static int outputs_null_cb(void *params_) {
struct outputs_json_params *params = (struct outputs_json_params*) 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); FREE(params->cur_key);
return 1; return 1;