summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2012-09-20 16:45:09 -0400
committerPaul Moore <pmoore@redhat.com>2012-09-20 16:45:09 -0400
commit5acf31d97f9d11c93ce0d7e346c6696545d0e338 (patch)
tree381ab6cf41e0548e42f0870c305b708cec3f5007 /src
parentf08622cda8ff41d8d77d70ab034ab26413289013 (diff)
downloadlibseccomp-5acf31d97f9d11c93ce0d7e346c6696545d0e338.tar.gz
db: fix a compile time warning
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'src')
-rw-r--r--src/db.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db.c b/src/db.c
index 44f9a53..1468cf9 100644
--- a/src/db.c
+++ b/src/db.c
@@ -570,7 +570,7 @@ static struct db_sys_list *_db_rule_gen_64(const struct arch_def *arch,
int chain_len_max;
struct db_sys_list *s_new;
struct db_arg_chain_tree *c_iter_hi = NULL, *c_iter_lo = NULL;
- struct db_arg_chain_tree *c_prev_hi = NULL, *c_prev_lo = NULL;
+ struct db_arg_chain_tree *c_prev_lo = NULL;
unsigned int tf_flag;
s_new = malloc(sizeof(*s_new));
@@ -653,7 +653,6 @@ static struct db_sys_list *_db_rule_gen_64(const struct arch_def *arch,
/* link the hi and lo chain nodes */
c_iter_hi->nxt_t = c_iter_lo;
- c_prev_hi = c_iter_hi;
c_prev_lo = c_iter_lo;
}
if (c_iter_lo != NULL) {