diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-07-04 14:14:15 +0200 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-07-04 14:14:15 +0200 |
| commit | 64b51df55d378c457b3e324b64a16c113d54ff5f (patch) | |
| tree | 2c2dfb66a2b2a798872d38a3f54a09727f2ea757 /Source/Core/InputCommon/ControllerInterface/evdev | |
| parent | d2578000bbf5bddd52c18e162d5ae8aae5c93d1a (diff) | |
evdev: fix -Wunused-private-field warning
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/evdev/evdev.h | 3 |
1 files changed, 1 insertions, 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; }; |
