From e65d9d974c192907b43f994ef98e4fd0b93d9ae1 Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Wed, 21 Jan 2015 22:05:12 +0000 Subject: [PATCH] Fix an unitialized variable warning. R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/35819004 Patch from Sebastien Marchand . git-svn-id: http://webrtc.googlecode.com/svn/trunk@8118 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/aec/echo_cancellation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/audio_processing/aec/echo_cancellation.c b/webrtc/modules/audio_processing/aec/echo_cancellation.c index 2cff8a210a..470fe0545d 100644 --- a/webrtc/modules/audio_processing/aec/echo_cancellation.c +++ b/webrtc/modules/audio_processing/aec/echo_cancellation.c @@ -321,7 +321,7 @@ int32_t WebRtcAec_BufferFarend(void* aecInst, while (WebRtc_available_read(aecpc->far_pre_buf) >= PART_LEN2) { // We have enough data to pass to the FFT, hence read PART_LEN2 samples. { - float* ptmp; + float* ptmp = NULL; float tmp[PART_LEN2]; WebRtc_ReadBuffer(aecpc->far_pre_buf, (void**)&ptmp, tmp, PART_LEN2); WebRtcAec_BufferFarendPartition(aecpc->aec, ptmp);