Home GnuPG
Diffusion GnuPG 3a35c9740ab7

agent: Remove useless conditions in command.c.
3a35c9740ab7Unpublished

Unpublished Commit · Learn More

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

Description

agent: Remove useless conditions in command.c.

* agent/command.c (cmd_setkeydesc): Remove NULL check.
(cmd_get_passphrase): Ditto.
(cmd_clear_passphrase): Ditto.
(cmd_get_confirmation): Ditto.
(cmd_getval): Ditto.
(cmd_putval): Ditto.

Detected by Stack 0.3.

Details

Provenance
wernerAuthored on Mar 15 2015, 1:11 PM
Parents
rG3529dd8bb5ba: agent: Fix length test in sshcontrol parser.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG3a35c9740ab7: agent: Remove useless conditions in command.c. (authored by Werner Koch <wk@gnupg.org>).Mar 15 2015, 1:11 PM