[vlc-devel] commit: access_ftp: uneeded var_get. ( Rémi Duraffort )
git version control
git at videolan.org
Wed Jan 14 11:52:52 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Jan 14 11:48:05 2009 +0100| [606f9edb0341f2a424add2e895cb73cbe686b707] | committer: Rémi Duraffort
access_ftp: uneeded var_get.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=606f9edb0341f2a424add2e895cb73cbe686b707
---
modules/access/ftp.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/modules/access/ftp.c b/modules/access/ftp.c
index 56a0cef..5da5d16 100644
--- a/modules/access/ftp.c
+++ b/modules/access/ftp.c
@@ -525,7 +525,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
bool *pb_bool;
int *pi_int;
int64_t *pi_64;
- vlc_value_t val;
switch( i_query )
{
@@ -555,7 +554,6 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- var_Get( p_access, "ftp-caching", &val );
*pi_64 = (int64_t)var_GetInteger( p_access, "ftp-caching" ) * INT64_C(1000);
break;
More information about the vlc-devel
mailing list