summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2018-09-05 17:03:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-05 17:21:24 (GMT)
commitc3b9bc94b9bee431323856fe2c373312c60969d7 (patch)
treecb6907f9c9c2c5085df4522144f11d99809ec2c9
parent53f9a3e157dbbc901a02ac2c73346d375e24978c (diff)
downloadgit-c3b9bc94b9bee431323856fe2c373312c60969d7.zip
git-c3b9bc94b9bee431323856fe2c373312c60969d7.tar.gz
git-c3b9bc94b9bee431323856fe2c373312c60969d7.tar.bz2
Remove superfluous trailing semicolons
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--builtin/receive-pack.c2
-rw-r--r--merge-recursive.c2
-rw-r--r--remote-curl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c
index 68d36e0..a292a63 100644
--- a/builtin/receive-pack.c
+++ b/builtin/receive-pack.c
@@ -464,7 +464,7 @@ static char *prepare_push_cert_nonce(const char *path, timestamp_t stamp)
unsigned char sha1[GIT_SHA1_RAWSZ];
strbuf_addf(&buf, "%s:%"PRItime, path, stamp);
- hmac_sha1(sha1, buf.buf, buf.len, cert_nonce_seed, strlen(cert_nonce_seed));;
+ hmac_sha1(sha1, buf.buf, buf.len, cert_nonce_seed, strlen(cert_nonce_seed));
strbuf_release(&buf);
/* RFC 2104 5. HMAC-SHA1-80 */
diff --git a/merge-recursive.c b/merge-recursive.c
index f110e1c..aec985d 100644
--- a/merge-recursive.c
+++ b/merge-recursive.c
@@ -2213,7 +2213,7 @@ static struct dir_rename_entry *check_dir_renamed(const char *path,
{
char *temp = xstrdup(path);
char *end;
- struct dir_rename_entry *entry = NULL;;
+ struct dir_rename_entry *entry = NULL;
while ((end = strrchr(temp, '/'))) {
*end = '\0';
diff --git a/remote-curl.c b/remote-curl.c
index 99b0bed..9e922bf 100644
--- a/remote-curl.c
+++ b/remote-curl.c
@@ -178,7 +178,7 @@ static int set_option(const char *name, const char *value)
options.no_dependents = 1;
return 0;
} else if (!strcmp(name, "filter")) {
- options.filter = xstrdup(value);;
+ options.filter = xstrdup(value);
return 0;
} else {
return 1 /* unsupported */;