Commit 55cb768a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: remove unused variable

parent fd7e51ab
...@@ -145,7 +145,6 @@ int intf_Eject( vlc_object_t *p_this, const char *psz_device ) ...@@ -145,7 +145,6 @@ int intf_Eject( vlc_object_t *p_this, const char *psz_device )
#elif defined(WIN32) #elif defined(WIN32)
MCI_OPEN_PARMS op; MCI_OPEN_PARMS op;
MCI_STATUS_PARMS st;
DWORD i_flags; DWORD i_flags;
char psz_drive[4]; char psz_drive[4];
...@@ -162,7 +161,6 @@ int intf_Eject( vlc_object_t *p_this, const char *psz_device ) ...@@ -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 ) ) if( !mciSendCommand( 0, MCI_OPEN, i_flags, (uintptr_t)&op ) )
{ {
st.dwItem = MCI_STATUS_READY;
/* Eject disc */ /* Eject disc */
i_ret = mciSendCommand( op.wDeviceID, MCI_SET, MCI_SET_DOOR_OPEN, 0 ); i_ret = mciSendCommand( op.wDeviceID, MCI_SET, MCI_SET_DOOR_OPEN, 0 );
/* Release access to the device */ /* Release access to the device */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment