[vlc-commits] Unused variable

Rémi Denis-Courmont git at videolan.org
Tue Sep 6 17:47:06 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Sep  6 18:46:17 2011 +0300| [c292dec526a4e972c25d21d2219319067e6d7058] | committer: Rémi Denis-Courmont

Unused variable

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c292dec526a4e972c25d21d2219319067e6d7058
---

 modules/access/imem.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/access/imem.c b/modules/access/imem.c
index c095ff5..8442a43 100644
--- a/modules/access/imem.c
+++ b/modules/access/imem.c
@@ -329,8 +329,7 @@ static void CloseAccess(vlc_object_t *object)
  */
 static int ControlAccess(access_t *access, int i_query, va_list args)
 {
-    imem_sys_t *sys = (imem_sys_t*)access->p_sys;
-
+    (void) access;
     switch (i_query)
     {
     case ACCESS_CAN_SEEK:



More information about the vlc-commits mailing list