Thread (1 message) 1 message, 1 author, 2016-06-16

Re: [PATCH v2 03/94] builtin/apply: avoid parameter shadowing 'linenr' global

From: Junio C Hamano <hidden>
Date: 2016-06-16 02:19:21

Christian Couder [off-list ref] writes:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help