OSDN Git Service

Eliminate unusable wcassert code in favor of plain old C asssert.
authorSharvil Nanavati <sharvil@google.com>
Mon, 29 Dec 2014 12:23:30 +0000 (04:23 -0800)
committerAndre Eisenbach <eisenbach@google.com>
Mon, 16 Mar 2015 23:51:42 +0000 (16:51 -0700)
commit181932fad8b91dc6831222e5b616574c39a21565
tree9e5c6a2e2e5bdf56707e22e72f0bbf5916f86a3e
parent1ece3a37fca9ced4f9f3c3a66fac99b0e5cabf92
Eliminate unusable wcassert code in favor of plain old C asssert.

The WC_* macros only expand to something meaningful when _DEBUG is
also defined. However, on enabling _DEBUG, bluedroid fails to build
because the wc_assert function is not defined anywhere. We can get
what I imagine is the equivalent behavior by switching over to the
standard C assert macro.
stack/avdt/avdt_ad.c
stack/avrc/avrc_api.c
stack/avrc/avrc_opt.c
stack/include/wcassert.h [deleted file]
stack/mcap/mca_api.c
stack/mcap/mca_main.c