Skip to content

Commit

Permalink
[WIP] libsepol/cil: remove __cil_verify_rule
Browse files Browse the repository at this point in the history
Silence -Wunused warning when adding static
  • Loading branch information
fishilico committed Feb 4, 2021
1 parent f383118 commit 0185c0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libsepol/cil/src/cil_verify.c
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@ static int __cil_verify_named_context(struct cil_db *db, struct cil_tree_node *n
return rc;
}

/*
static int __cil_verify_rule(struct cil_tree_node *node, struct cil_complex_symtab *symtab)
{
Expand Down Expand Up @@ -906,6 +907,7 @@ static int __cil_verify_rule(struct cil_tree_node *node, struct cil_complex_symt
cil_tree_log(node, CIL_ERR, "Invalid rule");
return rc;
}
*/

static int __cil_verify_booleanif_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, __attribute__((unused)) void *extra_args)
{
Expand Down

0 comments on commit 0185c0b

Please sign in to comment.