From 6ec082c6c32b6298d5995cc4fb405dee75e3a1e3 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Tue, 18 Oct 2016 09:08:02 +0300 Subject: Remove redundant register storage class specifiers Clang warns about this being deprecated, when building without specifying -std=c++98. This doesn't give any measurable encoding speed impact on ARM or AArch64, on neither GCC nor Clang. Change-Id: I63a0bbd1dccb97547522da188ee585d4d8127c29 --- libSBRdec/src/env_calc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libSBRdec') diff --git a/libSBRdec/src/env_calc.cpp b/libSBRdec/src/env_calc.cpp index fa5330a..73bd7ba 100644 --- a/libSBRdec/src/env_calc.cpp +++ b/libSBRdec/src/env_calc.cpp @@ -2031,7 +2031,7 @@ static void adjustTimeSlotHQ( FIXP_SGL direct_ratio = /*FL2FXCONST_SGL(1.0f) */ (FIXP_SGL)MAXVAL_SGL - smooth_ratio; int index = *ptrPhaseIndex; UCHAR harmIndex = *ptrHarmIndex; - register int freqInvFlag = (lowSubband & 1); + int freqInvFlag = (lowSubband & 1); FIXP_DBL sineLevel; int shift; -- cgit v1.2.3