From db75a66b0fa7f3a734206aa339ca598924c48d42 Mon Sep 17 00:00:00 2001 From: "andrew@webrtc.org" Date: Tue, 30 Sep 2014 15:17:50 +0000 Subject: [PATCH] Minor code change to fix some warnings in MIPS build. R=andrew@webrtc.org, bjornv@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/26619004 Patch from Ljubomir Papuga . git-svn-id: http://webrtc.googlecode.com/svn/trunk@7339 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/audio_processing/aec/aec_core_mips.c | 1 - webrtc/modules/audio_processing/aec/aec_rdft_mips.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/webrtc/modules/audio_processing/aec/aec_core_mips.c b/webrtc/modules/audio_processing/aec/aec_core_mips.c index 4f5f1171f8..0a975f766b 100644 --- a/webrtc/modules/audio_processing/aec/aec_core_mips.c +++ b/webrtc/modules/audio_processing/aec/aec_core_mips.c @@ -337,7 +337,6 @@ void WebRtcAec_FilterFar_mips(AecCore* aec, float yf[2][PART_LEN1]) { float* bIm = aec->wfBuf[1] + pos; float f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13; int len = PART_LEN1 >> 1; - int len1 = PART_LEN1 & 1; __asm __volatile ( ".set push \n\t" diff --git a/webrtc/modules/audio_processing/aec/aec_rdft_mips.c b/webrtc/modules/audio_processing/aec/aec_rdft_mips.c index 6e51d3a8e7..7e64e65716 100644 --- a/webrtc/modules/audio_processing/aec/aec_rdft_mips.c +++ b/webrtc/modules/audio_processing/aec/aec_rdft_mips.c @@ -271,8 +271,8 @@ static void bitrv2_128_mips(float* a) { static void cft1st_128_mips(float* a) { float f0, f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12, f13, f14; int a_ptr, p1_rdft, p2_rdft, count; - float* first = rdft_wk3ri_first; - float* second = rdft_wk3ri_second; + const float* first = rdft_wk3ri_first; + const float* second = rdft_wk3ri_second; __asm __volatile ( ".set push \n\t"