From: Marcus Brinkmann Date: Wed, 28 Aug 2002 17:29:32 +0000 (+0000) Subject: 2002-08-21 Marcus Brinkmann X-Git-Tag: gpgme-0-3-10~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2ba4dc7998d30c06f17b5085e18eb4aedac40bb0;p=gpgme.git 2002-08-21 Marcus Brinkmann * encrypt-sign.c (encrypt_sign_status_handler): Remove dead variables encrypt_info and encrypt_info_len. * trustlist.c (gpgme_op_trustlist_start): Set colon line handler. * posix-sema.c (sema_fatal): Remove function. All these reported by St�phane Corth�sy. --- diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 30edecd..9379033 100644 --- a/gpgme/ChangeLog +++ b/gpgme/ChangeLog @@ -1,3 +1,11 @@ +2002-08-21 Marcus Brinkmann + + * encrypt-sign.c (encrypt_sign_status_handler): Remove dead + variables encrypt_info and encrypt_info_len. + * trustlist.c (gpgme_op_trustlist_start): Set colon line handler. + * posix-sema.c (sema_fatal): Remove function. + All these reported by Stéphane Corthésy. + 2002-08-23 Werner Koch * gpgme-config.in: Made --prefix work for --libs. diff --git a/gpgme/encrypt-sign.c b/gpgme/encrypt-sign.c index 9e49e58..39ec6d1 100644 --- a/gpgme/encrypt-sign.c +++ b/gpgme/encrypt-sign.c @@ -36,9 +36,6 @@ static void encrypt_sign_status_handler (GpgmeCtx ctx, GpgmeStatusCode code, char *args) { - char *encrypt_info = 0; - size_t encrypt_info_len; - _gpgme_encrypt_status_handler (ctx, code, args); _gpgme_sign_status_handler (ctx, code, args); } diff --git a/gpgme/posix-sema.c b/gpgme/posix-sema.c index 2a41922..30a4ad6 100644 --- a/gpgme/posix-sema.c +++ b/gpgme/posix-sema.c @@ -37,13 +37,6 @@ #include "sema.h" #include "ath.h" -static void -sema_fatal (const char *text) -{ - fprintf (stderr, "sema.c: %s\n", text); - abort (); -} - void _gpgme_sema_subsystem_init () { diff --git a/gpgme/trustlist.c b/gpgme/trustlist.c index 55fdfdf..43edfe5 100644 --- a/gpgme/trustlist.c +++ b/gpgme/trustlist.c @@ -184,6 +184,8 @@ gpgme_op_trustlist_start (GpgmeCtx ctx, const char *pattern, int max_level) if (err) goto leave; + _gpgme_engine_set_status_handler (ctx->engine, + trustlist_status_handler, ctx); err = _gpgme_engine_set_colon_line_handler (ctx->engine, trustlist_colon_handler, ctx); if (err)