Skip to content

Commit

Permalink
libsepol: drop repeated semicolons
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
  • Loading branch information
cgzones authored and jwcart2 committed Jun 24, 2021
1 parent 5324a9a commit 8111856
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libsepol/src/kernel_to_cil.c
Expand Up @@ -1050,7 +1050,7 @@ static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name)
p = catsbuf;

*p++ = '(';
remaining--;;
remaining--;

range = 0;
ebitmap_for_each_positive_bit(cats, node, i) {
Expand Down
2 changes: 1 addition & 1 deletion libsepol/src/module.c
Expand Up @@ -82,7 +82,7 @@ static int policy_file_length(struct policy_file *fp, size_t *out)
break;
case PF_USE_MEMORY:
*out = fp->size;
break;;
break;
default:
*out = 0;
break;
Expand Down

0 comments on commit 8111856

Please sign in to comment.