aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-02-20 09:44:36 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-02-20 09:44:36 +0100
commit62657d5f878a1e4431ec592b2d50888979b8cc42 (patch)
treec68bdd7920bd3d387f00ad9b2534a46b29370bf3
parent1973e833f2f8987c7be494e5dff86008a8557758 (diff)
downloadlibssh-62657d5f878a1e4431ec592b2d50888979b8cc42.tar.gz
libssh-62657d5f878a1e4431ec592b2d50888979b8cc42.tar.xz
libssh-62657d5f878a1e4431ec592b2d50888979b8cc42.zip
auth: Fix build warning.
-rw-r--r--src/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c
index 2432f9e..006c18d 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -955,7 +955,7 @@ struct ssh_agent_state_struct {
*/
int ssh_userauth_agent(ssh_session session,
const char *username) {
- int rc;
+ int rc = SSH_AUTH_ERROR;
struct ssh_agent_state_struct *state;
if (session == NULL) {
return SSH_AUTH_ERROR;