summaryrefslogtreecommitdiff
path: root/walker.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 /walker.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 'walker.c')
-rw-r--r--walker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/walker.c b/walker.c
index 679adab6a0..e57630e983 100644
--- a/walker.c
+++ b/walker.c
@@ -18,7 +18,7 @@ void walker_say(struct walker *walker, const char *fmt, const char *hex)
static void report_missing(const struct object *obj)
{
char missing_hex[41];
- strcpy(missing_hex, sha1_to_hex(obj->sha1));;
+ strcpy(missing_hex, sha1_to_hex(obj->sha1));
fprintf(stderr, "Cannot obtain needed %s %s\n",
obj->type ? typename(obj->type): "object", missing_hex);
if (!is_null_sha1(current_commit_sha1))