From: Junio C Hamano Date: Sun, 14 Nov 2021 06:41:13 GMT Subject: Re: [PATCH] MyFirstContribution.txt: fix undeclared variable i in sample code Message-ID: In-Reply-To: <2b2386b9-045d-a0b8-6dbc-8a9d0c446bea@gmail.com> Saksham Mittal writes: >> It is declared, there is an "int i;" a few lines up. > > Oh, man, I never even saw that! The patch is completely unnecessary > then. Sorry for that! No need to say sorry; you'd want to be a bit more careful next time, that's all. Also, our code does not introduce a new variable in the first part of "for (;;)" loop control, so even if the original lacked decl for "i", the posted patch is not how we write our code for this project. Thanks.