mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-25 04:26:28 +00:00
Remove unused variables in libqpol
This commit is contained in:
parent
278ababe61
commit
7aace4d52a
@ -159,7 +159,6 @@ int qpol_default_object_get_range_default(const qpol_policy_t *policy, const qpo
|
||||
*value = NULL;
|
||||
|
||||
/* The range default started in ver 27 */
|
||||
int policy_version;
|
||||
if (!qpol_policy_has_capability(policy, QPOL_CAP_DEFAULT_OBJECTS))
|
||||
return STATUS_SUCCESS;
|
||||
|
||||
|
@ -339,7 +339,6 @@ int qpol_is_file_binpol(FILE * fp)
|
||||
|
||||
int qpol_is_data_mod_pkg(char * data)
|
||||
{
|
||||
size_t sz;
|
||||
__u32 ubuf;
|
||||
|
||||
memcpy(&ubuf, data, sizeof(__u32));
|
||||
|
Loading…
Reference in New Issue
Block a user