gpgconf: Fix some warnings.
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Tue, 15 Aug 2017 23:50:00 +0000 (01:50 +0200)
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>
Tue, 15 Aug 2017 23:50:00 +0000 (01:50 +0200)
commit3244d4daff892d5d3c39e78f4eb0934379beda2c
tree4dd1bc014c39de1ca0a010319ef0948841dac5e6
parent97a1abe72e73f85bbf922fa588d002a226db5459
gpgconf: Fix some warnings.

* tests/gpg/t-gpgconf.c (main): Fix warnings.
* src/engine-gpgconf.c (struct gpgconf_config_dir_s): New struct.
(gpgconf_config_dir_cb, gpgconf_conf_dir) Use it to fix warning.

Signed-off-by: Marcus Brinkmann <mb@g10code.com>
src/engine-gpgconf.c
tests/gpg/t-gpgconf.c