[vlc-devel] commit: variables: warn if var_CountChoices result isn't used. ( Rémi Duraffort )
git version control
git at videolan.org
Thu Sep 3 11:30:31 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Thu Sep 3 11:12:09 2009 +0200| [a6b0580fd9e6ac697e3035f9539b1188d322b44a] | committer: Rémi Duraffort
variables: warn if var_CountChoices result isn't used.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6b0580fd9e6ac697e3035f9539b1188d322b44a
---
include/vlc_variables.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/vlc_variables.h b/include/vlc_variables.h
index 0c3767c..06ae899 100644
--- a/include/vlc_variables.h
+++ b/include/vlc_variables.h
@@ -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_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 )
{
vlc_value_t count;
More information about the vlc-devel
mailing list