[vlc-devel] commit: Kill misc warnings (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Aug 20 10:54:03 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 20 10:43:16 2009 +0200| [e1430f5994030843c4fe7d9b128ea3d2827cf6fa] | committer: Jean-Baptiste Kempf
Kill misc warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e1430f5994030843c4fe7d9b128ea3d2827cf6fa
---
modules/codec/subtitles/t140.c | 2 ++
modules/control/ntservice.c | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/codec/subtitles/t140.c b/modules/codec/subtitles/t140.c
index c5d5dcb..df40501 100644
--- a/modules/codec/subtitles/t140.c
+++ b/modules/codec/subtitles/t140.c
@@ -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;
diff --git a/modules/control/ntservice.c b/modules/control/ntservice.c
index e7104cb..cfebba0 100644
--- a/modules/control/ntservice.c
+++ b/modules/control/ntservice.c
@@ -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 }
};
More information about the vlc-devel
mailing list