agent: Clean up error initialize/return.
authorNIIBE Yutaka <gniibe@fsij.org>
Fri, 14 Apr 2017 03:54:06 +0000 (12:54 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 14 Apr 2017 03:54:06 +0000 (12:54 +0900)
commit36c4e540f1a4992675ee6e0acca1231325457079
tree688b2aedb0c66047fe18018250b25e1577ff55b1
parentadb77d095b3958482863a17c83746f33945638dc
agent: Clean up error initialize/return.

* agent/call-pinentry.c (start_pinentry): Return RC.
* agent/command-ssh.c (ssh_handler_request_identities): Don't set ERR.
* agent/findkey.c (try_unprotect_cb): Return ERR.
(unprotect): Don't set RC.
* agent/gpg-agent.c (handle_connections): Don't set fd.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/call-pinentry.c
agent/command-ssh.c
agent/findkey.c
agent/gpg-agent.c