[vlc-commits] src/input: fix compilation warnings
Felix Paul Kühne
git at videolan.org
Tue Mar 4 14:15:04 CET 2014
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Mar 4 14:09:45 2014 +0100| [ceed4a8e587a9645127b99014ae9e6fa236615b6] | committer: Felix Paul Kühne
src/input: fix compilation warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ceed4a8e587a9645127b99014ae9e6fa236615b6
---
src/input/es_out.c | 2 +-
src/input/resource.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index b41460f..f0334f5 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -2479,7 +2479,7 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args )
{
const int i_id = (int)va_arg( args, int );
es_out_id_t *p_es = EsOutGetFromID( out, i_id );
- int i_new_query;
+ int i_new_query = 0;
switch( i_query )
{
diff --git a/src/input/resource.c b/src/input/resource.c
index f3a82dd..17e7099 100644
--- a/src/input/resource.c
+++ b/src/input/resource.c
@@ -132,6 +132,7 @@ static sout_instance_t *RequestSout( input_resource_t *p_resource,
return NULL;
}
#else
+ VLC_UNUSED (p_resource); VLC_UNUSED (p_sout); VLC_UNUSED (psz_sout);
return NULL;
#endif
}
More information about the vlc-commits
mailing list