diff --git a/modules/csync_sftp.c b/modules/csync_sftp.c index 388941a9c..854d94670 100644 --- a/modules/csync_sftp.c +++ b/modules/csync_sftp.c @@ -99,7 +99,7 @@ static int _sftp_connect(const char *uri) { char *user = NULL; char *passwd = NULL; char *host = NULL; - unsigned int port; + unsigned int port = 0; char *path = NULL; unsigned char hash[MD5_DIGEST_LEN]; int rc = -1;