X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=crypto.c;h=4c1b7eeca6cb56575d01ddb10c3310e829fec46d;hp=fc7c5d1d3376aa7e1bed35f355d3eabbf34a1404;hb=bfd669bb2ef01d3142dd8294c7e1326ee7503e39;hpb=3e9857a0b98c04973b9b6ad2da7dc5c3992b3b1c diff --git a/crypto.c b/crypto.c index fc7c5d1d..4c1b7eec 100644 --- a/crypto.c +++ b/crypto.c @@ -117,7 +117,7 @@ _notmuch_crypto_get_gmime_context (_notmuch_crypto_t *crypto, const char *protoc return NULL; } -int +void _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto) { if (crypto->gpgctx) { @@ -129,12 +129,9 @@ _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto) g_object_unref (crypto->pkcs7ctx); crypto->pkcs7ctx = NULL; } - - return 0; } #else -int _notmuch_crypto_cleanup (unused(_notmuch_crypto_t *crypto)) +void _notmuch_crypto_cleanup (unused(_notmuch_crypto_t *crypto)) { - return 0; } #endif