[vlc-devel] [vlc-commits] adaptive: remove unused member
Rémi Denis-Courmont
remi at remlab.net
Wed Feb 28 21:29:14 CET 2018
Le keskiviikkona 28. helmikuuta 2018, 3.59.21 EET Zhao Zhili a écrit :
> p_obj is used for debug. We can replace the conditional compilation by
> runtime
> check to fix the warning, or remove the debug code if it's not used anymore.
>
> #ifdef ADAPTATIVE_BW_DEBUG
> #define BwDebug(code) code
> #else
> #define BwDebug(code)
> #endif
Frankly, I do not care. Disabled debug code should use stderr/cerr, precisely
to avoid affecting the normal code.
--
雷米‧德尼-库尔蒙
https://www.remlab.net/
More information about the vlc-devel
mailing list