diff --git a/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp b/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp index 955711e45b..7268ccd861 100644 --- a/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp +++ b/stepmania/src/arch/InputHandler/InputHandler_DirectInput.cpp @@ -482,15 +482,12 @@ void InputHandler_DInput::InputThreadMain() /* Enable priority boosting. */ SetThreadPriorityBoost( GetCurrentThread(), FALSE ); - vector BufferedDevices, UnbufferedDevices; + vector BufferedDevices; HANDLE Handle = CreateEvent(NULL, FALSE, FALSE, NULL); for( unsigned i = 0; i < Devices.size(); ++i ) { if( !Devices[i].buffered ) - { - UnbufferedDevices.push_back( &Devices[i] ); continue; - } BufferedDevices.push_back( &Devices[i] );