]> git.sesse.net Git - vlc/commitdiff
Win32: remove unused variable
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 23 Sep 2011 12:12:45 +0000 (14:12 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 23 Sep 2011 12:23:57 +0000 (14:23 +0200)
src/interface/intf_eject.c

index 4031d99d75e5116501973499be4e00426257ceb4..98f95d407c232934d5d30d6b47e6a3541cb0b2a2 100644 (file)
@@ -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 */