comparison 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
comparison
equal deleted inserted replaced
1325:0b1162fbf1c6 1326:79225928bf59
632 * noptycommand or ptycommand as appropriate. 632 * noptycommand or ptycommand as appropriate.
633 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */ 633 * Returns DROPBEAR_SUCCESS or DROPBEAR_FAILURE */
634 static int sessioncommand(struct Channel *channel, struct ChanSess *chansess, 634 static int sessioncommand(struct Channel *channel, struct ChanSess *chansess,
635 int iscmd, int issubsys) { 635 int iscmd, int issubsys) {
636 636
637 unsigned int cmdlen; 637 unsigned int cmdlen = 0;
638 int ret; 638 int ret;
639 639
640 TRACE(("enter sessioncommand")) 640 TRACE(("enter sessioncommand"))
641 641
642 if (chansess->cmd != NULL) { 642 if (chansess->cmd != NULL) {