X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=chan_lcr.c;h=110c3372a80a2bdb9a3a0a5fcc76e7820ed09a8d;hp=877bd11ef86941e3c394ee0d12a647f195717797;hb=a71c27047b4ff3c216cc176ba1e6fc80f55b9032;hpb=6b858efdae9a1b86033c29bd8f0e3c636c73180f diff --git a/chan_lcr.c b/chan_lcr.c index 877bd11..110c337 100644 --- a/chan_lcr.c +++ b/chan_lcr.c @@ -2196,7 +2196,7 @@ static int lcr_write(struct ast_channel *ast, struct ast_frame *f) static struct ast_frame *lcr_read(struct ast_channel *ast) { struct chan_call *call; - int len; + int len = 0; ast_mutex_lock(&chan_lock); call = ast->tech_pvt;