tools: Improve error handling.

* tools/gpg-wks-server.c (copy_key_as_binary): Initialize 'argv'.

Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
Justus Winter 2016-10-06 14:17:03 +02:00
parent 07cfb3b27a
commit 32f81f56a8
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ copy_key_as_binary (const char *keyfile, const char *outfile,
{
gpg_error_t err;
ccparray_t ccp;
const char **argv;
const char **argv = NULL;
char *filterexp = NULL;
if (addrspec)