diff options
author | Paul Moore <pmoore@redhat.com> | 2012-09-20 16:45:09 -0400 |
---|---|---|
committer | Paul Moore <pmoore@redhat.com> | 2012-09-20 16:45:09 -0400 |
commit | 5acf31d97f9d11c93ce0d7e346c6696545d0e338 (patch) | |
tree | 381ab6cf41e0548e42f0870c305b708cec3f5007 /src | |
parent | f08622cda8ff41d8d77d70ab034ab26413289013 (diff) | |
download | libseccomp-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) { |