diff options
author | Christian Couder <christian.couder@gmail.com> | 2016-05-11 13:16:13 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-12 19:07:15 (GMT) |
commit | 560e35468feea3b471418dfe48d753f433141e10 (patch) | |
tree | b100e2fb79566b6c7ce32b4c1737a083a0eb1f93 /.gitignore | |
parent | 12913a78cedc491f89a34ab0b545831d6006fc98 (diff) | |
download | git-560e35468feea3b471418dfe48d753f433141e10.zip git-560e35468feea3b471418dfe48d753f433141e10.tar.gz git-560e35468feea3b471418dfe48d753f433141e10.tar.bz2 |
builtin/apply: avoid parameter shadowing 'p_value' global
Let's just rename the global 'state_p_value' as it will become
'state->p_value' 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.
Helped-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions