Remove superfluous trailing semicolons
authorElijah Newren <newren@gmail.com>
Wed, 5 Sep 2018 17:03:07 +0000 (10:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Sep 2018 17:21:24 +0000 (10:21 -0700)
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/receive-pack.c
merge-recursive.c
remote-curl.c
index 68d36e0a56c3c72ad76c07af293d20e8254377d1..a292a63b73c9830a5cbd4244b8b8938d5fa0c48d 100644 (file)
@@ -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 */
index f110e1c5ecbd6254b25785ecb49f29cb7bb75ed2..aec985d7279be7a27c3c21534d4abf2fcb8f49b8 100644 (file)
@@ -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';
index 99b0bedc6ddc670cad6e74083dc33dc0aa4b595a..9e922bf937386d92b72880e5063eb602731cb6d2 100644 (file)
@@ -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 */;