diff options
author | Nick Kralevich <nnk@google.com> | 2019-02-15 19:03:07 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-02-15 19:03:07 -0800 |
commit | b9d3b6d5a576f791001df9fdfab575b781f28cdc (patch) | |
tree | 2aa57ed0ace2259569d2a649cd27226ad2e92dd0 | |
parent | 0ae13f06fe8ff41513b45b97710317e16425ddaf (diff) | |
parent | 42911bd7c2f7fc94f954a9451c49cba2f878c3a2 (diff) | |
download | android_external_selinux-b9d3b6d5a576f791001df9fdfab575b781f28cdc.tar.gz android_external_selinux-b9d3b6d5a576f791001df9fdfab575b781f28cdc.tar.bz2 android_external_selinux-b9d3b6d5a576f791001df9fdfab575b781f28cdc.zip |
cil_write_ast.c: fix compile time error am: 13030b2fd3
am: 42911bd7c2
Change-Id: Ic908d6bdd9269f81e4a25c9ec2ce9d8024445b08
-rw-r--r-- | libsepol/cil/src/cil_write_ast.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libsepol/cil/src/cil_write_ast.c b/libsepol/cil/src/cil_write_ast.c index 3b252db7..bcf5f416 100644 --- a/libsepol/cil/src/cil_write_ast.c +++ b/libsepol/cil/src/cil_write_ast.c @@ -1153,7 +1153,6 @@ exit: static int __cil_write_node_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) { int rc = SEPOL_OK; - struct cil_db *db = NULL; struct cil_args_write *args = NULL; FILE *cil_out = NULL; @@ -1162,7 +1161,6 @@ static int __cil_write_node_helper(struct cil_tree_node *node, uint32_t *finishe } args = extra_args; - db = args->db; cil_out = args->cil_out; switch (node->flavor) { @@ -1462,7 +1460,6 @@ exit: static int __cil_write_last_child_helper(struct cil_tree_node *node, void *extra_args) { int rc = SEPOL_ERR; - struct cil_db *db = NULL; struct cil_args_write *args = NULL; FILE *cil_out = NULL; @@ -1471,7 +1468,6 @@ static int __cil_write_last_child_helper(struct cil_tree_node *node, void *extra } args = extra_args; - db = args->db; cil_out = args->cil_out; if (node->parent && node->parent->flavor != CIL_ROOT && node->parent->flavor != CIL_SRC_INFO) { |