Re: [PATCH v2] for_each_string_list_item: avoid undefined behavior for empty list
- From
Andreas Schwab <schwab@linux-m68k.org>
- Date
- Sep 21, 2017, 15:39 UTC
- Message-ID
- <87y3p8uklq.fsf@linux-m68k.org>
- In-Reply-To
- <xmqqtvzwn9bj.fsf@gitster.mtv.corp.google.com>
On Sep 21 2017, Junio C Hamano <gitster@pobox.com> wrote:
> Now you make me curious. How would that variant be different from > option C. in Jonathan's message?
Only in the parity of the condition.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."