Re: [PATCH] cat-file: remove definition of already defined variables

2015-01-12 Thread Junio C Hamano
Alexander Kuleshov writes: > 'enum object_type type' and 'unsigned long size' are already defined > at the top of cat_one_file routine True. That description applies to two completely different situations, though, and does not help judging if the change is correct. Scenario #1: unsign

[PATCH] cat-file: remove definition of already defined variables

2015-01-10 Thread Alexander Kuleshov
'enum object_type type' and 'unsigned long size' are already defined at the top of cat_one_file routine Signed-off-by: Alexander Kuleshov --- builtin/cat-file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtin/cat-file.c b/builtin/cat-file.c index 750b5a2..31b133b 100644 --- a/builti