Home GnuPG
Diffusion GnuPG 22b9bea1c3d0

yat2m: Silence lint warnings and fix a printf format bug.
22b9bea1c3d0Unpublished

Unpublished Commit · Learn More

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

Description

yat2m: Silence lint warnings and fix a printf format bug.

* doc/yat2m.c (ATTR_PRINTF, ATTR_NR_PRINTF, ATTR_MALLOC): New.
(die, err, inf, xmalloc, xcalloc): New prototypes with attributes.
(get_section_buffer): Take care of !N_SECTIONS.
(proc_texi_cmd): Cast precision format arg.
(proc_texi_buffer): Do not set IN_CMD when not used afterwards.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 25 2016, 10:41 AM
Parents
rG7bca3be65e51: gpg: New import option "import-export".
Branches
Unknown
Tags
Unknown

Event Timeline