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:
Junio C Hamano
2009-02-10 17:42:04 -08:00
parent 057e71384a
commit ba19a808aa
4 changed files with 4 additions and 4 deletions

View File

@ -869,7 +869,7 @@ static char *create_index(void)
/* Generate the fan-out array. */
c = idx;
for (i = 0; i < 256; i++) {
struct object_entry **next = c;;
struct object_entry **next = c;
while (next < last) {
if ((*next)->sha1[0] != i)
break;