[vlc-devel] commit: Unused variable. ( Rémi Duraffort )

git version control git at videolan.org
Wed Feb 10 09:23:19 CET 2010


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Feb 10 09:11:24 2010 +0100| [ea0c27c2b893432e587b7ef33d4f07a0e14f2abd] | committer: Rémi Duraffort 

Unused variable.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea0c27c2b893432e587b7ef33d4f07a0e14f2abd
---

 modules/demux/mp4/libmp4.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 4bbdce9..9a92934 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -2846,7 +2846,6 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s )
 
     if( i_result )
     {
-        MP4_Box_t *p_child;
         MP4_Box_t *p_moov;
         MP4_Box_t *p_cmov;
 
@@ -2868,7 +2867,7 @@ MP4_Box_t *MP4_BoxGetRoot( stream_t *s )
             p_moov->p_father = p_root;
 
             /* insert this new moov box as first child of p_root */
-            p_moov->p_next = p_child = p_root->p_first;
+            p_moov->p_next = p_root->p_first;
             p_root->p_first = p_moov;
         }
     }




More information about the vlc-devel mailing list