From bb1e78a118cab7358b4f5e0cd5c8c21d95576936 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 12 Nov 2014 10:09:10 -0800 Subject: Fix checks for {Front,Side,Back}ElementIsCpe {Front,Side,Back}ElementIsCpe is an array (per-channel). The check for pPce->{Front,Side,Back}ElementIsCpe without an index checks the address of the array, and will always evaluate to true. The elTagSce++ statements are unreachable. Change-Id: If530371788a44038c500d6f9f7ac67681f77cc71 --- Android.mk | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index dcf8cf6..cfd5113 100644 --- a/Android.mk +++ b/Android.mk @@ -52,10 +52,6 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/libSBRdec/include \ $(LOCAL_PATH)/libSBRenc/include -# In tpdec_asc.cpp: address of array 'pPce->FrontElementIsCpe' -# will always evaluate to 'true'. -LOCAL_CLANG_CPPFLAGS += \ - -Wno-pointer-bool-conversion LOCAL_CPPFLAGS += -std=c++98 -- cgit v1.2.3