mirror of
https://github.com/SELinuxProject/setools
synced 2025-02-22 15:16:58 +00:00
Fixed -Werror=unused-but-set-variable in libqpol/policy_extend.c
This commit is contained in:
parent
6a8dbe88a5
commit
bc081bbccd
@ -781,7 +781,7 @@ static int qpol_syn_rule_table_insert_entry(qpol_policy_t * policy,
|
|||||||
table_node->next = table->buckets[hash];
|
table_node->next = table->buckets[hash];
|
||||||
table->buckets[hash] = table_node;
|
table->buckets[hash] = table_node;
|
||||||
}
|
}
|
||||||
return 0;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -868,7 +868,7 @@ static int qpol_syn_rule_table_insert_sepol_avrule(qpol_policy_t * policy, qpol_
|
|||||||
ebitmap_destroy(&source_types2);
|
ebitmap_destroy(&source_types2);
|
||||||
ebitmap_destroy(&target_types);
|
ebitmap_destroy(&target_types);
|
||||||
ebitmap_destroy(&target_types2);
|
ebitmap_destroy(&target_types2);
|
||||||
return 0;
|
return error;
|
||||||
|
|
||||||
err:
|
err:
|
||||||
ebitmap_destroy(&source_types);
|
ebitmap_destroy(&source_types);
|
||||||
|
Loading…
Reference in New Issue
Block a user