use name[len] in switch directly, instead of creating a shadowed variable.
commitdd305c846231e2fddf61c1e1314029b53af88a77
authorPierre Habouzit <madcoder@debian.org>
Wed, 23 Aug 2006 10:39:15 +0000 (23 12:39 +0200)
committerJunio C Hamano <junkio@cox.net>
Thu, 24 Aug 2006 01:47:39 +0000 (23 18:47 -0700)
tree0fe8e7abe3367474bdc46509ba834b01b7bb6151
parent599f8d63140f3626604d4fc83a48cd00c67b804a
use name[len] in switch directly, instead of creating a shadowed variable.

builtin-apply.c defines a local variable 'c' which is used only
once and then later gets shadowed by another instance of 'c'.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c