]> git.sesse.net Git - vlc/commitdiff
Kill misc warnings
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 20 Aug 2009 08:43:16 +0000 (10:43 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 20 Aug 2009 08:53:53 +0000 (10:53 +0200)
modules/codec/subtitles/t140.c
modules/control/ntservice.c

index c5d5dcbb1c8655b770295f30f494d1e71f2cb8bf..df4050135f96c783f0968eff5208653c8380fa60 100644 (file)
@@ -81,6 +81,8 @@ static void Close( vlc_object_t *p_this )
 
 static block_t *Encode( encoder_t *p_enc, subpicture_t *p_spu )
 {
+    VLC_UNUSED( p_enc );
+
     subpicture_region_t *p_region;
     block_t *p_block;
     size_t len;
index e7104cba01783daab98a72069a058e3c8cfd88f5..cfebba096186b32ce08bb9b4ce8f22c9163c71a1 100644 (file)
@@ -125,10 +125,9 @@ void Close( vlc_object_t *p_this )
 static void Run( intf_thread_t *p_intf )
 {
     intf_sys_t sys;
-    intf_thread_t *p_extraintf;
     SERVICE_TABLE_ENTRY dispatchTable[] =
     {
-        { VLCSERVICENAME, &ServiceDispatch },
+        { (LPTSTR)VLCSERVICENAME, &ServiceDispatch },
         { NULL, NULL }
     };