From bfd669bb2ef01d3142dd8294c7e1326ee7503e39 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Tue, 10 Oct 2017 01:49:04 -0400 Subject: crypto: _notmuch_crypto_cleanup should return void There's no chance that _notmuch_crypto_cleanup() will ever return anything other than 0, and no one ever checks its return value anyway. So make it return void instead of int. --- notmuch-client.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notmuch-client.h') diff --git a/notmuch-client.h b/notmuch-client.h index 62acc70e..bdcfd893 100644 --- a/notmuch-client.h +++ b/notmuch-client.h @@ -185,7 +185,7 @@ GMimeCryptoContext * _notmuch_crypto_get_gmime_context (_notmuch_crypto_t *crypto, const char *protocol); #endif -int +void _notmuch_crypto_cleanup (_notmuch_crypto_t *crypto); int -- cgit v1.2.3