libsepol/cil: comment out unused function __cil_verify_rule
The function __cil_verify_rule() is currently not used as all call sites are commented out. Keep the function for future references. Acked-by: James Carter <jwcart2@gmail.com> Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
parent
80137479d1
commit
8c1159363a
|
@ -970,7 +970,8 @@ exit:
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
int __cil_verify_rule(struct cil_tree_node *node, struct cil_complex_symtab *symtab)
|
/*
|
||||||
|
static int __cil_verify_rule(struct cil_tree_node *node, struct cil_complex_symtab *symtab)
|
||||||
{
|
{
|
||||||
|
|
||||||
int rc = SEPOL_ERR;
|
int rc = SEPOL_ERR;
|
||||||
|
@ -1016,6 +1017,7 @@ exit:
|
||||||
cil_tree_log(node, CIL_ERR, "Invalid rule");
|
cil_tree_log(node, CIL_ERR, "Invalid rule");
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
static int __cil_verify_booleanif_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, __attribute__((unused)) void *extra_args)
|
static int __cil_verify_booleanif_helper(struct cil_tree_node *node, __attribute__((unused)) uint32_t *finished, __attribute__((unused)) void *extra_args)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue