public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] crypt: Remove unused variable on cert test
Date: Thu, 31 Mar 2022 12:02:25 +0000 (GMT)	[thread overview]
Message-ID: <20220331120225.B624A383982D@sourceware.org> (raw)

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


                 reply	other threads:[~2022-03-31 12:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220331120225.B624A383982D@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).