Skip to content

Commit ae109a9

Browse files
committed
Merge branch 'en/double-semicolon-fix'
Code clean-up. * en/double-semicolon-fix: Remove superfluous trailing semicolons
2 parents 48a81ed + c3b9bc9 commit ae109a9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

builtin/receive-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ static char *prepare_push_cert_nonce(const char *path, timestamp_t stamp)
466466
unsigned char sha1[GIT_SHA1_RAWSZ];
467467

468468
strbuf_addf(&buf, "%s:%"PRItime, path, stamp);
469-
hmac_sha1(sha1, buf.buf, buf.len, cert_nonce_seed, strlen(cert_nonce_seed));;
469+
hmac_sha1(sha1, buf.buf, buf.len, cert_nonce_seed, strlen(cert_nonce_seed));
470470
strbuf_release(&buf);
471471

472472
/* RFC 2104 5. HMAC-SHA1-80 */

merge-recursive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2240,7 +2240,7 @@ static struct dir_rename_entry *check_dir_renamed(const char *path,
22402240
{
22412241
char *temp = xstrdup(path);
22422242
char *end;
2243-
struct dir_rename_entry *entry = NULL;;
2243+
struct dir_rename_entry *entry = NULL;
22442244

22452245
while ((end = strrchr(temp, '/'))) {
22462246
*end = '\0';

remote-curl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ static int set_option(const char *name, const char *value)
178178
options.no_dependents = 1;
179179
return 0;
180180
} else if (!strcmp(name, "filter")) {
181-
options.filter = xstrdup(value);;
181+
options.filter = xstrdup(value);
182182
return 0;
183183
} else {
184184
return 1 /* unsupported */;

0 commit comments

Comments
 (0)