agent: Remove useless conditions in command.c.
authorWerner Koch <wk@gnupg.org>
Sun, 15 Mar 2015 12:11:44 +0000 (13:11 +0100)
committerWerner Koch <wk@gnupg.org>
Sun, 15 Mar 2015 12:11:44 +0000 (13:11 +0100)
commit3a35c9740ab792068ec4b3732ecfaa17bf4fc7f0
tree7163b8e42c107fe090f6aec213089b48d00a2244
parent3529dd8bb5bafc4e02915648d5f409bd27a9cc37
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.
agent/command.c