builtin/apply: avoid local variable shadowing 'len' parameter
commitbb0ba9974314da72bba9a6200fa3bd61c4d9eab4
authorChristian Couder <christian.couder@gmail.com>
Wed, 11 May 2016 13:16:15 +0000 (11 15:16 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 May 2016 19:11:14 +0000 (12 12:11 -0700)
tree90061a221b9f1fb5968d6b3b6a307fc78a9ef24c
parenteb8fdbff3c26639912e73a01cfa2a86ce787d4b2
builtin/apply: avoid local variable shadowing 'len' parameter

This is just a cleanup to avoid errors when compiling with -Wshadow and
to make 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>
builtin/apply.c