summaryrefslogtreecommitdiff
path: root/rerere.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 /rerere.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 'rerere.c')
-rw-r--r--rerere.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rerere.c b/rerere.c
index 718fb526dd..3518207c17 100644
--- a/rerere.c
+++ b/rerere.c
@@ -290,7 +290,7 @@ static int do_plain_rerere(struct string_list *rr, int fd)
hex = xstrdup(sha1_to_hex(sha1));
string_list_insert(path, rr)->util = hex;
if (mkdir(git_path("rr-cache/%s", hex), 0755))
- continue;;
+ continue;
handle_file(path, NULL, rr_path(hex, "preimage"));
fprintf(stderr, "Recorded preimage for '%s'\n", path);
}