mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-14 01:54:42 +00:00
Remove unneeded int
Signed-off-by: Unto Sten <sten.unto@gmail.com>
This commit is contained in:
parent
c46b8af40a
commit
163d5b456d
@ -38,7 +38,6 @@ int context_is_valid(const policydb_t * p, const context_struct_t * c)
|
||||
role_datum_t *role;
|
||||
user_datum_t *usrdatum;
|
||||
ebitmap_t types, roles;
|
||||
int ret = 1;
|
||||
|
||||
ebitmap_init(&types);
|
||||
ebitmap_init(&roles);
|
||||
@ -75,7 +74,7 @@ int context_is_valid(const policydb_t * p, const context_struct_t * c)
|
||||
if (!mls_context_isvalid(p, c))
|
||||
return 0;
|
||||
|
||||
return ret;
|
||||
return 1;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user