diff options
| author | NIIBE Yutaka <[email protected]> | 2025-11-20 05:28:03 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-11-20 05:28:03 +0000 |
| commit | cad79e542d8506942d5b20f544d465cbaf64fd75 (patch) | |
| tree | 4970309f4a3ad6121f006237282699e7d56f9351 /agent/command.c | |
| parent | misc: Validate the value on the use of strtol. (diff) | |
| download | gnupg-cad79e542d8506942d5b20f544d465cbaf64fd75.tar.gz gnupg-cad79e542d8506942d5b20f544d465cbaf64fd75.zip | |
agent,common,dirmngr,tests: Silence warnings of a compiler.
* agent/command.c (cmd_keytocard): Initialize N.
* common/ksba-io-support.c (bintoasc): Use GPGRT_ATTR_NONSTRING.
* dirmngr/dns.c (dns_aaaa_arpa): Use GPGRT_ATTR_NONSTRING.
(dns_sshfp_cmp0): Ditto.
* tests/gpgscm/scheme.c (scheme_define): Initialize SSLOT.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/command.c')
| -rw-r--r-- | agent/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c index a50cbce5a..21c95203c 100644 --- a/agent/command.c +++ b/agent/command.c @@ -3418,7 +3418,7 @@ cmd_keytocard (assuan_context_t ctx, char *line) timestamp = isotime2epoch (argv[3]); if (argc > 4) { - size_t n; + size_t n = 0; err = parse_hexstring (ctx, argv[4], &n); if (err) |
