changeset 1326:79225928bf59

initialize variable
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 11:46:58 +0100
parents 0b1162fbf1c6
children e47e4b8a005d
files svr-chansession.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svr-chansession.c	Thu Mar 24 12:36:56 2016 +0100
+++ b/svr-chansession.c	Fri Jan 01 11:46:58 2016 +0100
@@ -634,7 +634,7 @@
 static int sessioncommand(struct Channel *channel, struct ChanSess *chansess,
 		int iscmd, int issubsys) {
 
-	unsigned int cmdlen;
+	unsigned int cmdlen = 0;
 	int ret;
 
 	TRACE(("enter sessioncommand"))