[vlc-commits] Win32: remove unused variable

Jean-Baptiste Kempf git at videolan.org
Fri Sep 23 14:24:02 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Sep 23 14:12:45 2011 +0200| [55cb768a5f7bb6c0c3593fdc7e2969dd9656dac3] | committer: Jean-Baptiste Kempf

Win32: remove unused variable

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

 src/interface/intf_eject.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/interface/intf_eject.c b/src/interface/intf_eject.c
index 4031d99..98f95d4 100644
--- a/src/interface/intf_eject.c
+++ b/src/interface/intf_eject.c
@@ -145,7 +145,6 @@ int intf_Eject( vlc_object_t *p_this, const char *psz_device )
 
 #elif defined(WIN32)
     MCI_OPEN_PARMS op;
-    MCI_STATUS_PARMS st;
     DWORD i_flags;
     char psz_drive[4];
 
@@ -162,7 +161,6 @@ int intf_Eject( vlc_object_t *p_this, const char *psz_device )
 
     if( !mciSendCommand( 0, MCI_OPEN, i_flags, (uintptr_t)&op ) )
     {
-        st.dwItem = MCI_STATUS_READY;
         /* Eject disc */
         i_ret = mciSendCommand( op.wDeviceID, MCI_SET, MCI_SET_DOOR_OPEN, 0 );
         /* Release access to the device */



More information about the vlc-commits mailing list