Re: [PATCH] Fix maybe-uninitialized warnings found by gcc 9 -flto
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Sep 5, 2019, 19:50 UTC
- Message-ID
- <xmqqimq6plof.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <8d90d803-8a4b-2656-550d-ccee5156b643@web.de>
René Scharfe <l.s.r@web.de> writes:
> The loop count is either 1 or argv[1] interpreted as a number, i.e. it could > be very high. Its body consists of an index load and writing a number to a > file, though -- a strlen() call on the name of that file should go unnoticed > amid that activity. (I didn't measure it, though.)
Yup, I didn't either but we reasoned along the same line.