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 c5d5dcb..df40501 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 e7104cb..cfebba0 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 }
     };