Skip to content

Commit c3b9bc9

Browse files
newrengitster
authored andcommitted
Remove superfluous trailing semicolons
Signed-off-by: Elijah Newren <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53f9a3e commit c3b9bc9

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
@@ -464,7 +464,7 @@ static char *prepare_push_cert_nonce(const char *path, timestamp_t stamp)
464464
unsigned char sha1[GIT_SHA1_RAWSZ];
465465

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

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

merge-recursive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2213,7 +2213,7 @@ static struct dir_rename_entry *check_dir_renamed(const char *path,
22132213
{
22142214
char *temp = xstrdup(path);
22152215
char *end;
2216-
struct dir_rename_entry *entry = NULL;;
2216+
struct dir_rename_entry *entry = NULL;
22172217

22182218
while ((end = strrchr(temp, '/'))) {
22192219
*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)