summary refs log tree commit diff
path: root/crypt
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-25 11:13:37 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-31 09:00:54 -0300
commit1dedc5bd5cc43173e0f7d7e010398ff46139e1dd (patch)
tree09f286382db5f762d4aa0a41af0c3044234d6e39 /crypt
parentf60510ddafc62b81ed551b46db9761e408559322 (diff)
downloadglibc-1dedc5bd5cc43173e0f7d7e010398ff46139e1dd.tar.gz
glibc-1dedc5bd5cc43173e0f7d7e010398ff46139e1dd.tar.xz
glibc-1dedc5bd5cc43173e0f7d7e010398ff46139e1dd.zip
crypt: Remove unused variable on cert test
Checked on x86_64-linux-gnu and i686-linux-gnu.
Diffstat (limited to 'crypt')
-rw-r--r--crypt/cert.c3
1 files changed, 1 insertions, 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);