Home GnuPG
Diffusion GnuPG 9bf40849a9f8

sm,g13: Init local vars to avoid compiler warnings.
9bf40849a9f8Unpublished

Unpublished Commit · Learn More

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

Description

sm,g13: Init local vars to avoid compiler warnings.

* sm/misc.c (transform_sigval): Init RSA_S_LEN.
* g13/mount.c (read_keyblob): Init HEADERLEN.

Not a bug but the compiler (gcc 4.9.1) can't detect that it is not
used uninitialized.

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

Details

Provenance
wernerAuthored on Jan 5 2015, 3:10 PM
Parents
rG616e511f278b: gpg: Remove unused args from a function.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG9bf40849a9f8: sm,g13: Init local vars to avoid compiler warnings. (authored by Werner Koch <wk@gnupg.org>).Jan 5 2015, 3:15 PM