mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-29 14:56:21 +00:00
Fix compile error.
This commit is contained in:
parent
a8d7f740b2
commit
a44a82a8a1
@ -543,7 +543,6 @@ int qpol_cat_get_alias_iter(const qpol_policy_t * policy, const qpol_cat_t * dat
|
||||
/* mls range */
|
||||
int qpol_policy_get_mls_range_from_mls_levels(const qpol_policy_t * policy, const qpol_mls_level_t *low, const qpol_mls_level_t *high, qpol_mls_range_t **dest)
|
||||
{
|
||||
policydb_t *db = NULL;
|
||||
mls_range_t *internal_range = NULL;
|
||||
mls_level_t *internal_low = NULL, *internal_high = NULL;
|
||||
|
||||
@ -555,7 +554,6 @@ int qpol_policy_get_mls_range_from_mls_levels(const qpol_policy_t * policy, cons
|
||||
return STATUS_ERR;
|
||||
}
|
||||
|
||||
db = &policy->p->p;
|
||||
*dest = NULL;
|
||||
internal_low = (mls_level_t*)low;
|
||||
internal_high = (mls_level_t*)high;
|
||||
|
Loading…
Reference in New Issue
Block a user