From f8122e39c51240b99bf07a767afe2f8a698f1486 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 21 Jun 2013 21:43:22 -0500 Subject: [PATCH] fix trivial compiler warning --- src/switch_ivr_async.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 540ddb9c07..dc3346c305 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1070,7 +1070,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s struct record_helper *rh = (struct record_helper *) user_data; switch_event_t *event; switch_frame_t *nframe; - switch_size_t len; + switch_size_t len = 0; int mask = switch_core_media_bug_test_flag(bug, SMBF_MASK); unsigned char null_data[SWITCH_RECOMMENDED_BUFFER_SIZE] = {0};