public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] crypt: Remove unused variable on cert test
@ 2022-03-31 12:02 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2022-03-31 12:02 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1dedc5bd5cc43173e0f7d7e010398ff46139e1dd

commit 1dedc5bd5cc43173e0f7d7e010398ff46139e1dd
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Fri Mar 25 11:13:37 2022 -0300

    crypt: Remove unused variable on cert test
    
    Checked on x86_64-linux-gnu and i686-linux-gnu.

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-31 12:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-31 12:02 [glibc] crypt: Remove unused variable on cert test Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).