Home GnuPG
Diffusion GnuPG 09accc0e3d74

gpg: Silence warnings found by static analyzer.
09accc0e3d74Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Silence warnings found by static analyzer.

* g10/keyedit.c (change_passphrase): Remove useless init of ANY.
(keyedit_quick_adduid): Remove useless setting of ERR.
* g10/parse-packet.c (parse_key): Remove PKTLEN from condition because
it has been checked before the loop.
(parse_plaintext): Remove useless init of PKTLEN.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jan 6 2016, 8:45 AM
Parents
rG7990586828a2: gpg: Comment on false positives by static analyzers.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG09accc0e3d74: gpg: Silence warnings found by static analyzer. (authored by Werner Koch <wk@gnupg.org>).Jan 6 2016, 8:45 AM