[vlc-devel] commit: access: compile warnings. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Apr 25 20:28:02 CEST 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Apr 19 19:29:47 2009 +0200| [f27309066dbf863842fd9846df785a1f44ed659d] | committer: Rémi Duraffort
access: compile warnings.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f27309066dbf863842fd9846df785a1f44ed659d
---
modules/access/cdda/cdda.c | 2 +-
modules/access/cdda/info.c | 1 -
modules/access/rtsp/access.c | 5 ++---
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/modules/access/cdda/cdda.c b/modules/access/cdda/cdda.c
index c51ab9b..23020f1 100644
--- a/modules/access/cdda/cdda.c
+++ b/modules/access/cdda/cdda.c
@@ -156,7 +156,7 @@ vlc_module_begin ()
false )
add_bool( MODULE_STRING "-navigation-mode", true,
-#if FIXED
+#ifdef FIXED
CDDANavModeCB,
#else
NULL,
diff --git a/modules/access/cdda/info.c b/modules/access/cdda/info.c
index 78c7f76..b0de828 100644
--- a/modules/access/cdda/info.c
+++ b/modules/access/cdda/info.c
@@ -868,7 +868,6 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
for( i = 0 ; i < p_cdda->i_tracks ; i++ )
{
- playlist_item_t *p_child;
const track_t i_track = i_first_track + i;
unsigned int i_track_frames =
cdio_get_track_sec_count(p_cdda->p_cdio, i_track);
diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index aa49044..d2cc4df 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -318,9 +318,8 @@ static int Seek( access_t *p_access, int64_t i_pos )
*****************************************************************************/
static int Control( access_t *p_access, int i_query, va_list args )
{
- bool *pb_bool;
- int *pi_int;
- int64_t *pi_64;
+ bool *pb_bool;
+ int64_t *pi_64;
switch( i_query )
{
More information about the vlc-devel
mailing list