Suppress bogus static analysis warnings.
* clang-analyzer-cplusplus.NewDelete and clang-analyzer-unix.Malloc
could give wrong "Use of memory after it is freed" warnings.
* Delete old obsolet calls to ALOGV.
Test: make with WITH_TIDY=1
Change-Id: Ie7806c8d423b31e8b527b42ad15469d0b087edfa
diff --git a/media/libeffects/preprocessing/PreProcessing.cpp b/media/libeffects/preprocessing/PreProcessing.cpp
index f2844ed..b914f4b 100644
--- a/media/libeffects/preprocessing/PreProcessing.cpp
+++ b/media/libeffects/preprocessing/PreProcessing.cpp
@@ -889,7 +889,7 @@
delete session->procFrame;
session->procFrame = NULL;
delete session->apm;
- session->apm = NULL;
+ session->apm = NULL; // NOLINT(clang-analyzer-cplusplus.NewDelete)
}
return status;
}