LIBVLC_USED: tag for function whose result must be used
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 6 Sep 2008 08:28:38 +0000 (11:28 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sat, 6 Sep 2008 08:28:38 +0000 (11:28 +0300)
commit050580d4204d2e9056e68e3ce17787709b956514
tree55c2770efbdc63fea5b3febb4deb6ce05605cddd
parente5fdeda43a3d1833e6f7a3390f404ceebe41a18a
LIBVLC_USED: tag for function whose result must be used

GCC will print a warning if the result of such function is ignored
This is useful for functions returning an allocated object (which
would leak if ignored), "getter" functions, and functions that are
"likely" to fail.
include/vlc_common.h