Re: [PATCH 2/6] gpg-interface: add GPG_VERIFY_QUIET flag
Show 13 quoted lines
> diff --git a/gpg-interface.c b/gpg-interface.c
> index 8672eda..b82bc50 100644
> --- a/gpg-interface.c
> +++ b/gpg-interface.c
> @@ -88,6 +88,9 @@ int check_signature(const char *payload, size_t plen, const char *signature,
>
> void print_signature_buffer(const struct signature_check *sigc, unsigned flags)
> {
> + if (flags & GPG_VERIFY_QUIET)
> + return;
> +
> const char *output = flags & GPG_VERIFY_RAW ?
> sigc->gpg_status : sigc->gpg_output;This will not compile with -Werror=declaration-after-statement.