diff --git a/rpcs3/Input/hid_pad_handler.cpp b/rpcs3/Input/hid_pad_handler.cpp index 9246506046..8086931f6f 100644 --- a/rpcs3/Input/hid_pad_handler.cpp +++ b/rpcs3/Input/hid_pad_handler.cpp @@ -185,8 +185,6 @@ std::shared_ptr hid_pad_handler::get_hid_device(const std::strin if (!Init()) return nullptr; - std::shared_ptr device = nullptr; - // Controllers 1-n in GUI for (auto& cur_control : m_controllers) {