_STLP_VERBOSE_ASSERT causes unused variable warnings
Brought to you by:
complement
_STLP_VERBOSE_ASSERT causes unused variable warnings inside std::binary_search and possibly other places.
Local fix which was applied:
_debug.h:
- # define _STLP_VERBOSE_ASSERT(expr, diagnostic)
+# define _STLP_VERBOSE_ASSERT(expr, diagnostic) while(false) { (void)(expr); }
Fixed in AOSP with
https://android-review.googlesource.com/#/c/46896/