[vlc-devel] commit: cdda: Fix a bunch of arg warnings. (Pierre d'Herbemont )
git version control
git at videolan.org
Thu Aug 20 12:05:28 CEST 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 12:04:12 2009 +0200| [de1eee2a8a7a7987ba68979677f38e0e1e5381bb] | committer: Pierre d'Herbemont
cdda: Fix a bunch of arg warnings.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de1eee2a8a7a7987ba68979677f38e0e1e5381bb
---
modules/access/cdda/callback.c | 29 +++++++++++++++++++++++++++++
modules/access/cdda/info.c | 1 +
2 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/modules/access/cdda/callback.c b/modules/access/cdda/callback.c
index b3c0e31..7d06c4c 100644
--- a/modules/access/cdda/callback.c
+++ b/modules/access/cdda/callback.c
@@ -28,6 +28,10 @@ int
CDDADebugCB ( vlc_object_t *p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t val, void *p_data )
{
+ VLC_UNUSED(p_this);
+ VLC_UNUSED(psz_name);
+ VLC_UNUSED(oldval);
+ VLC_UNUSED(p_data);
cdda_data_t *p_cdda;
if (NULL == p_cdda_input) return VLC_EGENERIC;
@@ -49,6 +53,11 @@ int
CDDBEnabledCB ( vlc_object_t *p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t val, void *p_data )
{
+ VLC_UNUSED(p_this);
+ VLC_UNUSED(psz_name);
+ VLC_UNUSED(oldval);
+ VLC_UNUSED(p_data);
+
cdda_data_t *p_cdda;
if (NULL == p_cdda_input) return VLC_EGENERIC;
@@ -71,6 +80,11 @@ int
CDTextEnabledCB ( vlc_object_t *p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t val, void *p_data )
{
+ VLC_UNUSED(p_this);
+ VLC_UNUSED(psz_name);
+ VLC_UNUSED(oldval);
+ VLC_UNUSED(p_data);
+
cdda_data_t *p_cdda;
if (NULL == p_cdda_input) return VLC_EGENERIC;
@@ -90,6 +104,11 @@ int
CDDANavModeCB( vlc_object_t *p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t val, void *p_data )
{
+ VLC_UNUSED(p_this);
+ VLC_UNUSED(psz_name);
+ VLC_UNUSED(oldval);
+ VLC_UNUSED(p_data);
+
cdda_data_t *p_cdda;
if (NULL == p_cdda_input) return VLC_EGENERIC;
@@ -110,6 +129,11 @@ int
CDTextPreferCB ( vlc_object_t *p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t val, void *p_data )
{
+ VLC_UNUSED(p_this);
+ VLC_UNUSED(psz_name);
+ VLC_UNUSED(oldval);
+ VLC_UNUSED(p_data);
+
cdda_data_t *p_cdda;
if (NULL == p_cdda_input) return VLC_EGENERIC;
@@ -132,6 +156,11 @@ int
CDDABlocksPerReadCB ( vlc_object_t *p_this, const char *psz_name,
vlc_value_t oldval, vlc_value_t val, void *p_data )
{
+ VLC_UNUSED(p_this);
+ VLC_UNUSED(psz_name);
+ VLC_UNUSED(oldval);
+ VLC_UNUSED(p_data);
+
cdda_data_t *p_cdda;
if (NULL == p_cdda_input) return VLC_EGENERIC;
diff --git a/modules/access/cdda/info.c b/modules/access/cdda/info.c
index 85ddf1d..3485b41 100644
--- a/modules/access/cdda/info.c
+++ b/modules/access/cdda/info.c
@@ -532,6 +532,7 @@ char *
CDDAFormatStr( const access_t *p_access, cdda_data_t *p_cdda,
const char format_str[], const char *psz_mrl, track_t i_track)
{
+ VLC_UNUSED(p_access);
#define TEMP_STR_SIZE 256
#define TEMP_STR_LEN (TEMP_STR_SIZE-1)
static char temp_str[TEMP_STR_SIZE];
More information about the vlc-devel
mailing list