From 4d26a40934cadc1d5f07fc90a4567eb43008c23c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 7 Apr 2017 09:34:39 +0300 Subject: [PATCH] global: Remove extra ';' to fix compiler errors Sun C doesn't like them. --- src/auth/auth-policy.c | 2 +- src/plugins/mail-crypt/mail-crypt-key.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auth/auth-policy.c b/src/auth/auth-policy.c index eb2319d853..c10bbb11fd 100755 --- a/src/auth/auth-policy.c +++ b/src/auth/auth-policy.c @@ -330,7 +330,7 @@ void auth_policy_parse_response(struct policy_lookup_ctx *context) if (context->callback != NULL) { context->callback(context->result, context->callback_context); } -}; +} static void auth_policy_process_response(const struct http_response *response, diff --git a/src/plugins/mail-crypt/mail-crypt-key.c b/src/plugins/mail-crypt/mail-crypt-key.c index 5924ca30a9..3c7432440a 100644 --- a/src/plugins/mail-crypt/mail-crypt-key.c +++ b/src/plugins/mail-crypt/mail-crypt-key.c @@ -982,7 +982,7 @@ int mail_crypt_generate_keypair(const char *curve, *pubid_r = binary_to_hex(key_id->data, key_id->used); return 0; -}; +} int mail_crypt_user_generate_keypair(struct mail_user *user, struct dcrypt_keypair *pair, -- 2.47.3