summaryrefslogtreecommitdiff
path: root/fast-import.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-10 17:42:04 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-10 22:26:37 -0800
commitba19a808aa871f0eb20aaeeb205e086b04b726dc (patch)
treea11ccc1b11ef0fff5e77d1a41eab2991b10e8ae9 /fast-import.c
parent057e71384a0eff83236268dcd3ff7ebc7789de74 (diff)
downloadgit-ba19a808aa871f0eb20aaeeb205e086b04b726dc.tar.gz
Drop double-semicolon in C
The worst offenders are "continue;;" and "break;;" in switch statements. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fast-import.c')
-rw-r--r--fast-import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fast-import.c b/fast-import.c
index 03b13e0621..3ef3413e69 100644
--- a/fast-import.c
+++ b/fast-import.c
@@ -869,7 +869,7 @@ static char *create_index(void)
/* Generate the fan-out array. */
c = idx;
for (i = 0; i < 256; i++) {
- struct object_entry **next = c;;
+ struct object_entry **next = c;
while (next < last) {
if ((*next)->sha1[0] != i)
break;