Re: [PATCH v2 03/94] builtin/apply: avoid parameter shadowing 'linenr' global
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 12, 2016, 19:11 UTC
- Message-ID
- <xmqqeg97f5x4.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <20160511131745.2914-4-chriscool@tuxfamily.org>
Christian Couder <christian.couder@gmail.com> writes:
Show 5 quoted lines
> Let's just rename the global 'state_linenr' as it will become > 'state->linenr' in a following patch. > > This also avoid errors when compiling with -Wshadow and makes > it safer to later move global variables into a "state" struct.
Looks correctly done (I looked at remaining instances of "linenr").
Will queue. Thanks.