[PATCH v5 12/15] fast-export: trivial cleanup
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Nov 11, 2012, 13:59 UTC
- Message-ID
- <1352642392-28387-13-git-send-email-felipe.contreras@gmail.com>
- In-Reply-To
- <1352642392-28387-1-git-send-email-felipe.contreras@gmail.com>
Setting 'commit' to 'commit' is a no-op. It might have been there to avoid a compiler warning, but if so, it was the compiler to blame, and it's certainly not there any more.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- builtin/fast-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/fast-export.c b/builtin/fast-export.c index a06fe10..4f3c35f 100644 --- a/builtin/fast-export.c +++ b/builtin/fast-export.c @@ -483,7 +483,7 @@ static void get_tags_and_duplicates(struct object_array *pending, for (i = 0; i < pending->nr; i++) { struct object_array_entry *e = pending->objects + i; unsigned char sha1[20]; - struct commit *commit = commit; + struct commit *commit; char *full_name; if (dwim_ref(e->name, strlen(e->name), sha1, &full_name) != 1)
-- 1.8.0