[chan_lcr] Fixed uninitialized variable in ast_read()
[lcr.git] / chan_lcr.c
index 877bd11..110c337 100644 (file)
@@ -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;