]> git.sesse.net Git - vlc/commitdiff
Remove unused variables
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 20 May 2006 11:46:26 +0000 (11:46 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 20 May 2006 11:46:26 +0000 (11:46 +0000)
modules/codec/cmml/history.c
modules/codec/cmml/intf.c

index 06c4d097bf3de4fdf658d068c5a8ceb368815685..70377bb0d467169f426e4992006049bfef30aa5a 100644 (file)
@@ -107,7 +107,7 @@ static void history_Dump( history_t *p_history )
         void *pv_item;
 
         xarray_ObjectAtIndex( p_history->p_xarray, i, &pv_item );
-        
+
         p_item = (history_item_t *) pv_item;
 
         if( p_item == NULL )
@@ -203,7 +203,7 @@ void history_PruneAndInsert( history_t *p_history, history_item_t *p_item )
 
 unsigned int history_Count( history_t *p_history )
 {
-    int i_count;
+    unsigned int i_count;
     xarray_Count( p_history->p_xarray, &i_count );
     return i_count;
 }
index 7c633b594a8a894c953a61b3d1651a7be1ba9c18..f23caeeb174bf1ed7d4a8a996913c7ffd6cac94c 100644 (file)
@@ -818,8 +818,6 @@ static int DisplayAnchor( intf_thread_t *p_intf,
 
     if( p_vout )
     {
-        text_style_t *p_style = NULL;
-
         if( psz_anchor_url )
         {
             /* Should display subtitle underlined and in blue, but it looks
@@ -841,7 +839,6 @@ static int DisplayAnchor( intf_thread_t *p_intf,
         {
             return VLC_EGENERIC;
         }
-
     }
     else
     {