aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2019-02-15 19:11:11 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-15 19:11:11 -0800
commit8b2caf76cf54d7715272c0207966b5d655807d48 (patch)
tree2aa57ed0ace2259569d2a649cd27226ad2e92dd0
parent9969683556b95e959f1cc2281faa4132495a933d (diff)
parentb9d3b6d5a576f791001df9fdfab575b781f28cdc (diff)
downloadandroid_external_selinux-8b2caf76cf54d7715272c0207966b5d655807d48.tar.gz
android_external_selinux-8b2caf76cf54d7715272c0207966b5d655807d48.tar.bz2
android_external_selinux-8b2caf76cf54d7715272c0207966b5d655807d48.zip
cil_write_ast.c: fix compile time error am: 13030b2fd3 am: 42911bd7c2
am: b9d3b6d5a5 Change-Id: I6a1f0f4c56134dabf269d96a0e1179a3fabc17d8
-rw-r--r--libsepol/cil/src/cil_write_ast.c4
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) {