[COMMITTED] crypt: Remove unused variable on cert test

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Mar 31 12:02:28 GMT 2022


Checked on x86_64-linux-gnu and i686-linux-gnu.
---
 crypt/cert.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/crypt/cert.c b/crypt/cert.c
index e070ca398d..32c4386caf 100644
--- a/crypt/cert.c
+++ b/crypt/cert.c
@@ -50,10 +50,9 @@ main (int argc, char *argv[])
 {
 	char key[64],plain[64],cipher[64],answer[64];
 	int i;
-	int test;
 	int fail;
 
-	for(test=0;!feof(stdin);test++){
+	for(;!feof(stdin);){
 
 		get8(key);
 		printf(" K: "); put8(key);
-- 
2.32.0



More information about the Libc-alpha mailing list