transport-helper: avoid var decl in for () loop control
authorJunio C Hamano <gitster@pobox.com>
Tue, 16 Jul 2019 20:28:21 +0000 (13:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 16 Jul 2019 20:30:33 +0000 (13:30 -0700)
commit2581ea3d31a178df6b073226f0ee0ab5b3ca3a24
tree7b8297e1245ceba948eaf4accd0128fcc6113e52
parent3bca1e7f9f9708b970035a641d21f8c5cec1cd88
transport-helper: avoid var decl in for () loop control

We do allow a few selected C99 constructs in our codebase these
days, but this is not among them (yet).

Reported-by: Carlo Arenas <carenas@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
transport.c