diff svr-chansession.c @ 1326:79225928bf59

initialize variable
author Francois Perrad <francois.perrad@gadz.org>
date Fri, 01 Jan 2016 11:46:58 +0100
parents 750ec4ec4cbe
children 06d52bcb8094
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"))