Commit 1d2ce98f authored by Allen Kay's avatar Allen Kay

libxl: Fix yajl-related build error due to missing error value

Some versions of yajl lack yajl_gen_no_buf.
Signed-off-by: default avatarAllen Kay <allen.m.kay@intel.com>
Tested-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
Committed-by: default avatarIan Jackson <ian.jackson@eu.citrix.com>
parent edb35892
......@@ -793,9 +793,9 @@ static const char *yajl_gen_status_to_string(yajl_gen_status s)
return "generation complete";
case yajl_gen_invalid_number:
return "invalid number";
#if 0 /* This is in the docs but not implemented in the version I am running. */
case yajl_gen_no_buf:
return "no buffer";
#if 0 /* This is in the docs but not implemented in the version I am running. */
case yajl_gen_invalid_string:
return "invalid string";
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment