From 2cd1218b9389dadba56d3a2f2ecc170f1b9e6b5f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 2 Dec 2009 09:49:56 +0000 Subject: [PATCH] Small portability fix --- src/ChangeLog | 5 +++++ src/gpgconf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index d3e77fc..ca931a5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-12-02 Werner Koch + + * gpgconf.c (gpgme_conf_arg_release): No return in a function + returning void. Reported by Wyllys Ingersoll. + 2009-12-01 Werner Koch * gpgme-tool.c (cmd_getauditlog): Add flag --html. diff --git a/src/gpgconf.c b/src/gpgconf.c index 9fa2ce9..8fdf68e 100644 --- a/src/gpgconf.c +++ b/src/gpgconf.c @@ -59,7 +59,7 @@ void gpgme_conf_arg_release (gpgme_conf_arg_t arg, gpgme_conf_type_t type) { #ifdef ENABLE_GPGCONF - return _gpgme_conf_arg_release (arg, type); + _gpgme_conf_arg_release (arg, type); #endif } -- 2.26.2