提交 50b4e9af 编写于 作者: J Ján Tomko

virJSONValue: remove unused 'protect' property

The last usage was removed by commit <167028e3>
Signed-off-by: NJán Tomko <jtomko@redhat.com>
上级 f33d02c1
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册