]> git.sesse.net Git - vlc/commitdiff
control/http.c: gcc < 3 compile fix
authorEric Petit <titer@videolan.org>
Thu, 6 Jan 2005 15:15:24 +0000 (15:15 +0000)
committerEric Petit <titer@videolan.org>
Thu, 6 Jan 2005 15:15:24 +0000 (15:15 +0000)
modules/control/http.c

index a3fd14e2ec9ee8b48894713775fa11ec1f682d00..ca87006d72cb85232238d6733e9263dc5aa89bfc 100644 (file)
@@ -958,13 +958,13 @@ void PlaylistListNode( playlist_t *p_pl, playlist_item_t *p_node,
 
 static mvar_t *mvar_PlaylistSetNew( char *name, playlist_t *p_pl )
 {
+    playlist_view_t *p_view;
     mvar_t *s = mvar_New( name, "set" );
 
     fprintf( stderr," mvar_PlaylistSetNew: name=`%s'\n", name );
 
     vlc_mutex_lock( &p_pl->object_lock );
 
-    playlist_view_t *p_view;
     p_view = playlist_ViewFind( p_pl, VIEW_CATEGORY ); /* FIXME */
 
     if( p_view != NULL )