Home GnuPG
Diffusion GnuPG 04e2c83f189c

agent: Fix two compiler warnings.
04e2c83f189cUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Fix two compiler warnings.

* agent/command.c (cmd_preset_passphrase, pinentry_loopback): Use %zu
in format string.
* scd/ccid-driver.c (ccid_get_atr): Ditto.
* agent/command-ssh.c (stream_read_string): Init arg STRING_SIZE to
avoid maybe_unitialized warning.

Actually the first one might have been a problem on big endian
machines.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 22 2013, 9:35 AM
Parents
rGb6d54f1196d5: scd: fix parsing login-data DO.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG04e2c83f189c: agent: Fix two compiler warnings. (authored by Werner Koch <wk@gnupg.org>).Aug 28 2013, 1:04 PM