fast-export: trivial cleanup
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Felipe Contreras committed
Nov 28, 2012 at 23:11 UTC
2d242de4fd76e31031ee36e7307ab1386e2bce7d
1 file changed
+1
-1
builtin/fast-export.c
+1
-1
@@ -483,7 +483,7 @@ static void get_tags_and_duplicates(struct object_array *pending,
483
for (i = 0; i < pending->nr; i++) {
484
struct object_array_entry *e = pending->objects + i;
485
unsigned char sha1[20];
486
- struct commit *commit = commit;
486
+ struct commit *commit;
487
char *full_name;
488
489
if (dwim_ref(e->name, strlen(e->name), sha1, &full_name) != 1)