mirror of
https://github.com/SELinuxProject/selinux
synced 2025-03-08 03:07:33 +00:00
libsepol: remove dead stores
Found by Infer Signed-off-by: Christian Göttsche <cgzones@googlemail.com> Acked-by: James Carter <jwcart2@gmail.com>
This commit is contained in:
parent
19a6ebfa89
commit
1076a07288
@ -175,7 +175,7 @@ static int expr_buf_len;
|
||||
static void cat_expr_buf(char *e_buf, const char *string)
|
||||
{
|
||||
int len, new_buf_len;
|
||||
char *p, *new_buf = e_buf;
|
||||
char *p, *new_buf;
|
||||
|
||||
while (1) {
|
||||
p = e_buf + expr_buf_used;
|
||||
@ -406,7 +406,7 @@ static int constraint_expr_eval_reason(context_struct_t *scontext,
|
||||
#define TARGET 2
|
||||
#define XTARGET 3
|
||||
|
||||
int s_t_x_num = SOURCE;
|
||||
int s_t_x_num;
|
||||
|
||||
/* Set 0 = fail, u = CEXPR_USER, r = CEXPR_ROLE, t = CEXPR_TYPE */
|
||||
int u_r_t = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user