Blame SOURCES/0079-libsepol-drop-repeated-semicolons.patch

71cd55
From 811185648af2ec8a6b11b54484cbe9d19ba452fa Mon Sep 17 00:00:00 2001
71cd55
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
71cd55
Date: Tue, 8 Jun 2021 17:59:09 +0200
71cd55
Subject: [PATCH] libsepol: drop repeated semicolons
71cd55
MIME-Version: 1.0
71cd55
Content-Type: text/plain; charset=UTF-8
71cd55
Content-Transfer-Encoding: 8bit
71cd55
71cd55
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
71cd55
Acked-by: James Carter <jwcart2@gmail.com>
71cd55
---
71cd55
 libsepol/src/kernel_to_cil.c | 2 +-
71cd55
 libsepol/src/module.c        | 2 +-
71cd55
 2 files changed, 2 insertions(+), 2 deletions(-)
71cd55
71cd55
diff --git a/libsepol/src/kernel_to_cil.c b/libsepol/src/kernel_to_cil.c
71cd55
index 5aaee6288565..336d53b09ff9 100644
71cd55
--- a/libsepol/src/kernel_to_cil.c
71cd55
+++ b/libsepol/src/kernel_to_cil.c
71cd55
@@ -1050,7 +1050,7 @@ static char *cats_ebitmap_to_str(struct ebitmap *cats, char **val_to_name)
71cd55
 	p = catsbuf;
71cd55
 
71cd55
 	*p++ = '(';
71cd55
-	remaining--;;
71cd55
+	remaining--;
71cd55
 
71cd55
 	range = 0;
71cd55
 	ebitmap_for_each_positive_bit(cats, node, i) {
71cd55
diff --git a/libsepol/src/module.c b/libsepol/src/module.c
71cd55
index 836da308f8d3..9b53bc470952 100644
71cd55
--- a/libsepol/src/module.c
71cd55
+++ b/libsepol/src/module.c
71cd55
@@ -82,7 +82,7 @@ static int policy_file_length(struct policy_file *fp, size_t *out)
71cd55
 		break;
71cd55
 	case PF_USE_MEMORY:
71cd55
 		*out = fp->size;
71cd55
-		break;;
71cd55
+		break;
71cd55
 	default:
71cd55
 		*out = 0;
71cd55
 		break;
71cd55
-- 
71cd55
2.32.0
71cd55