mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-12-02 16:46:18 +00:00
libsepol/cil: remove useless print statement
cil_copy_expandtypeattribute prints "cil_copy_expandtypeattribute 656" which is quite annoying. Remove the fprintf statement responsible for this. While at it, remove another one in cil_tree_print_node() Fixes: https://lore.kernel.org/selinux/3c2ab876-b0b7-42eb-573d-e5b450a7125a@gmail.com/T/#u Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
5b05e829da
commit
3c35728542
@ -653,7 +653,6 @@ int cil_copy_expandtypeattribute(__attribute__((unused)) struct cil_db *db, void
|
||||
struct cil_expandtypeattribute *orig = data;
|
||||
struct cil_expandtypeattribute *new = NULL;
|
||||
|
||||
fprintf(stderr, "%s %u\n", __func__, __LINE__);
|
||||
cil_expandtypeattribute_init(&new);
|
||||
|
||||
if (orig->attr_strs != NULL) {
|
||||
|
@ -710,7 +710,6 @@ void cil_tree_print_node(struct cil_tree_node *node)
|
||||
case CIL_EXPANDTYPEATTRIBUTE: {
|
||||
struct cil_expandtypeattribute *attr = node->data;
|
||||
|
||||
fprintf(stderr, "%s %u\n", __func__, __LINE__);
|
||||
cil_log(CIL_INFO, "(EXPANDTYPEATTRIBUTE ");
|
||||
cil_tree_print_expr(attr->attr_datums, attr->attr_strs);
|
||||
cil_log(CIL_INFO, "%s)\n",attr->expand ?
|
||||
|
Loading…
Reference in New Issue
Block a user