auth: Fix build warning.

This commit is contained in:
Andreas Schneider
2012-02-20 09:44:36 +01:00
parent 1973e833f2
commit 62657d5f87

View File

@@ -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;