aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/sftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/sftp.c b/libssh/sftp.c
index 40510ed8..9467f950 100644
--- a/libssh/sftp.c
+++ b/libssh/sftp.c
@@ -2692,7 +2692,7 @@ SFTP_STATVFS *sftp_statvfs(SFTP_SESSION *sftp, const char *path) {
SFTP_STATVFS *sftp_fstatvfs(SFTP_FILE *file) {
STATUS_MESSAGE *status = NULL;
SFTP_MESSAGE *msg = NULL;
- SFTP_SESSION *sftp;
+ SFTP_SESSION *sftp = NULL;
ssh_string ext;
ssh_buffer buffer;
uint32_t id;