diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-02-11 02:42:04 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-02-11 07:26:37 +0100 |
commit | ba19a808aa871f0eb20aaeeb205e086b04b726dc (patch) | |
tree | a11ccc1b11ef0fff5e77d1a41eab2991b10e8ae9 /walker.c | |
parent | Warn use of "origin" when remotes/origin/HEAD is dangling (diff) | |
download | git-ba19a808aa871f0eb20aaeeb205e086b04b726dc.tar.xz git-ba19a808aa871f0eb20aaeeb205e086b04b726dc.zip |
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 '')
-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)) |