diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-10 17:42:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-10 22:26:37 -0800 |
commit | ba19a808aa871f0eb20aaeeb205e086b04b726dc (patch) | |
tree | a11ccc1b11ef0fff5e77d1a41eab2991b10e8ae9 /walker.c | |
parent | 057e71384a0eff83236268dcd3ff7ebc7789de74 (diff) | |
download | git-ba19a808aa871f0eb20aaeeb205e086b04b726dc.tar.gz git-ba19a808aa871f0eb20aaeeb205e086b04b726dc.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |