Commit a6b0580f authored by Rémi Duraffort's avatar Rémi Duraffort

variables: warn if var_CountChoices result isn't used.

parent e9b57851
...@@ -665,6 +665,7 @@ static inline char *__var_CreateGetNonEmptyStringCommand( vlc_object_t *p_obj, ...@@ -665,6 +665,7 @@ static inline char *__var_CreateGetNonEmptyStringCommand( vlc_object_t *p_obj,
#define var_CreateGetStringCommand(a,b) __var_CreateGetStringCommand( VLC_OBJECT(a),b) #define var_CreateGetStringCommand(a,b) __var_CreateGetStringCommand( VLC_OBJECT(a),b)
#define var_CreateGetNonEmptyStringCommand(a,b) __var_CreateGetNonEmptyStringCommand( VLC_OBJECT(a),b) #define var_CreateGetNonEmptyStringCommand(a,b) __var_CreateGetNonEmptyStringCommand( VLC_OBJECT(a),b)
LIBVLC_USED
static inline int __var_CountChoices( vlc_object_t *p_obj, const char *psz_name ) static inline int __var_CountChoices( vlc_object_t *p_obj, const char *psz_name )
{ {
vlc_value_t count; vlc_value_t count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment