[COMMITTED] crypt: Remove unused variable on cert test

Message ID 20220331120228.60384-1-adhemerval.zanella@linaro.org
State Committed
Commit 1dedc5bd5cc43173e0f7d7e010398ff46139e1dd
Headers
Series [COMMITTED] crypt: Remove unused variable on cert test |

Commit Message

Adhemerval Zanella Netto March 31, 2022, 12:02 p.m. UTC
  Checked on x86_64-linux-gnu and i686-linux-gnu.
---
 crypt/cert.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
  

Patch

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);