summaryrefslogtreecommitdiff
path: root/editor.c
diff options
context:
space:
mode:
authorChristian Couder <christian.couder@gmail.com>2016-05-11 13:16:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-12 19:09:43 (GMT)
commiteb8fdbff3c26639912e73a01cfa2a86ce787d4b2 (patch)
treedab3e780748bf2e14ed137be63573725ea786604 /editor.c
parent560e35468feea3b471418dfe48d753f433141e10 (diff)
downloadgit-eb8fdbff3c26639912e73a01cfa2a86ce787d4b2.zip
git-eb8fdbff3c26639912e73a01cfa2a86ce787d4b2.tar.gz
git-eb8fdbff3c26639912e73a01cfa2a86ce787d4b2.tar.bz2
builtin/apply: avoid parameter shadowing 'linenr' global
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. Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'editor.c')
0 files changed, 0 insertions, 0 deletions