Explorar el Código

input_common/sdl_impl: Remove unused variable in SDLState constructor

Lioncash hace 7 años
padre
commit
834d3fe336
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/input_common/sdl/sdl_impl.cpp

+ 0 - 1
src/input_common/sdl/sdl_impl.cpp

@@ -477,7 +477,6 @@ SDLState::SDLState() {
     if (start_thread) {
     if (start_thread) {
         poll_thread = std::thread([&] {
         poll_thread = std::thread([&] {
             using namespace std::chrono_literals;
             using namespace std::chrono_literals;
-            SDL_Event event;
             while (initialized) {
             while (initialized) {
                 SDL_PumpEvents();
                 SDL_PumpEvents();
                 std::this_thread::sleep_for(std::chrono::duration(10ms));
                 std::this_thread::sleep_for(std::chrono::duration(10ms));