diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-14 05:54:06 +0200 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2017-04-14 05:54:06 +0200 |
commit | 36c4e540f1a4992675ee6e0acca1231325457079 (patch) | |
tree | 688b2aedb0c66047fe18018250b25e1577ff55b1 /agent/command-ssh.c | |
parent | dirmngr: More fix for test program. (diff) | |
download | gnupg2-36c4e540f1a4992675ee6e0acca1231325457079.tar.xz gnupg2-36c4e540f1a4992675ee6e0acca1231325457079.zip |
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>
Diffstat (limited to 'agent/command-ssh.c')
-rw-r--r-- | agent/command-ssh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/agent/command-ssh.c b/agent/command-ssh.c index eeb14988e..5c7cf1f26 100644 --- a/agent/command-ssh.c +++ b/agent/command-ssh.c @@ -2576,7 +2576,6 @@ ssh_handler_request_identities (ctrl_t ctrl, key_public = NULL; key_counter = 0; - err = 0; key_blobs = es_fopenmem (0, "r+b"); if (! key_blobs) |