Drop double-semicolon in C
The worst offenders are "continue;;" and "break;;" in switch statements. Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
2
walker.c
2
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))
|
||||
|
Reference in New Issue
Block a user