gpg: Silence warnings found by static analyzer.
authorWerner Koch <wk@gnupg.org>
Wed, 6 Jan 2016 07:45:01 +0000 (08:45 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 6 Jan 2016 07:45:01 +0000 (08:45 +0100)
commit09accc0e3d74e6289bed40b5bfc6479981cabfe4
tree8c459be635e6782bbefd4adf5d0d15345797c324
parent7990586828a252e78d2ecacbaaa152431d7e08c8
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>
g10/keyedit.c
g10/parse-packet.c