mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Silence a few compiler warnings new with gcc 8.
* dirmngr/dns.c: Include gpgrt.h. Silence -Warray-bounds also gcc. * tools/gpg-pair-tool.c (command_respond): Init two vars to silence gcc. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
ebf775eb16
commit
40c307fa8d
2 changed files with 14 additions and 7 deletions
|
@ -1885,8 +1885,8 @@ command_respond (void)
|
|||
{
|
||||
gpg_error_t err;
|
||||
unsigned char *msg;
|
||||
size_t msglen;
|
||||
int msgtype;
|
||||
size_t msglen = 0; /* In case that read_message returns an error. */
|
||||
int msgtype = 0; /* ditto. */
|
||||
nvc_t state;
|
||||
const char *rolestr;
|
||||
const char *statestr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue