[vlc-devel] commit: variables: add a warning when adding a callback to a non existant variable. ( Rémi Duraffort )

Rémi Duraffort ivoire at videolan.org
Tue Sep 15 12:38:07 CEST 2009


> > variables: add a warning when adding a callback to a non existant variable.
> 
> assert? :)
No because 'highlight' variable is a valid case in which you try to add
the callback. Or you will have to test for the existence of the variable
and then add the callback (which is really time consuming for nothing).

So adding a warning is better to help finding problems.


Best regards

-- 
Rémi Duraffort | ivoire



More information about the vlc-devel mailing list