diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-30 06:41:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-30 06:41:29 +0200 |
commit | a224ffabfedd0f90f8412c63a95bcdefaa6897d9 (patch) | |
tree | dbfceed6e9df6495d54ec3a0eba41a37c804b087 | |
parent | 6c5c26e914c2f515f1ca678fa32ab78750b8a4b5 (diff) |
win32-joystick: nix unused variable
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | 1 | ||||
-rw-r--r-- | ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h index ab32ec56..76bafbd4 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h @@ -83,7 +83,6 @@ public: TrackerControls(); void register_tracker(ITracker *) {} void unregister_tracker() {} - QList<GUID> guids; Ui::UIJoystickControls ui; FTNoIR_Tracker* tracker; settings s; diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp index 88074fef..f3b7077c 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick_dialog.cpp @@ -5,7 +5,6 @@ static BOOL CALLBACK EnumJoysticksCallback( const DIDEVICEINSTANCE* pdidInstance { auto self = ( TrackerControls* )pContext; - self->guids.push_back(pdidInstance->guidInstance); self->ui.joylist->addItem(QString(pdidInstance->tszInstanceName), guid_to_string(pdidInstance->guidInstance)); |