The last usage was removed by commit <167028e>
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/util/virjson.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virjson.c b/src/util/virjson.c
index dfe00d9280..92a15b28a1 100644
--- a/src/util/virjson.c
+++ b/src/util/virjson.c
@@ -78,7 +78,6 @@ struct _virJSONArray {
struct _virJSONValue {
int type; /* enum virJSONType */
- bool protect; /* prevents deletion when embedded in another object */
union {
virJSONObject object;
@@ -395,7 +394,7 @@ void
virJSONValueFree(virJSONValuePtr value)
{
size_t i;
- if (!value || value->protect)
+ if (!value)
return;
switch ((virJSONType) value->type) {
--
2.16.1