about summary refs log tree commit diff
path: root/Src/Modules/zftp.c
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-09-04 22:23:51 +0000
committerClint Adams <clint@users.sourceforge.net>2008-09-04 22:23:51 +0000
commitf926ebbf23f93a08283c2dd5c8de44ef969d945f (patch)
treedce84573975efe59136a37226b723905a4ebef41 /Src/Modules/zftp.c
parentadcf467e28612ebf78ea6df3417be7bd6feda824 (diff)
downloadzsh-f926ebbf23f93a08283c2dd5c8de44ef969d945f.tar.gz
zsh-f926ebbf23f93a08283c2dd5c8de44ef969d945f.tar.xz
zsh-f926ebbf23f93a08283c2dd5c8de44ef969d945f.zip
25609: initialize sz variable.
Diffstat (limited to 'Src/Modules/zftp.c')
-rw-r--r--Src/Modules/zftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c
index af48e80aa..4679c56a6 100644
--- a/Src/Modules/zftp.c
+++ b/Src/Modules/zftp.c
@@ -2568,7 +2568,7 @@ zftp_getput(char *name, char **args, int flags)
 	char *ln, *rest = NULL;
 	off_t startat = 0;
 	if (progress && (prog = getshfunc("zftp_progress")) != &dummy_eprog) {
-	    off_t sz;
+	    off_t sz = -1;
 	    /*
 	     * This calls the SIZE command to get the size for remote
 	     * files.  Some servers send the size with the reply to