From 64b51df55d378c457b3e324b64a16c113d54ff5f Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sat, 4 Jul 2015 14:14:15 +0200 Subject: [PATCH] evdev: fix -Wunused-private-field warning --- Source/Core/InputCommon/ControllerInterface/evdev/evdev.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h index d1555c8cce..c6c65e312d 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h @@ -51,11 +51,10 @@ private: { public: std::string GetName() const override; - ForceFeedback(u16 type, libevdev* dev) : m_type(type), m_dev(dev), m_id(-1) { m_fd = libevdev_get_fd(dev); } + ForceFeedback(u16 type, libevdev* dev) : m_type(type), m_id(-1) { m_fd = libevdev_get_fd(dev); } void SetState(ControlState state) override; private: const u16 m_type; - libevdev* m_dev; int m_fd; int m_id; };