Code

Fix detection of libyajl and fix compilation if it's missing.
[sysdb.git] / src / tools / sysdb / json.c
index fdd4194167d6f5ced06562933f38914b31fbcbdd..4f36179b02c823161487c6c0351c9c841351824c 100644 (file)
@@ -158,6 +158,7 @@ sdb_json_print(sdb_input_t *input, sdb_strbuf_t *buf)
        yajl_free(h);
        return ret;
 #else /* HAVE_LIBYAJL */
+       (void)input;
        printf("%s\n", sdb_strbuf_string(buf));
        return 0;
 #endif /* HAVE_LIBYAJL */