From: Junio C Hamano Date: Thu, 22 Sep 2016 20:25:13 GMT Subject: Re: [PATCH 2/6] gpg-interface: add GPG_VERIFY_QUIET flag Message-ID: In-Reply-To: <20160922185317.349-3-santiago@nyu.edu> santiago@nyu.edu writes: > 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.