From df195bae5f406dace6fe23586165516ed8b95fc1 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 3 Jan 2014 21:24:28 +0100 Subject: nix unused member variable --- ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | 1 - ftnoir_tracker_joystick/ftnoir_tracker_joystick.h | 1 - 2 files changed, 2 deletions(-) (limited to 'ftnoir_tracker_joystick') diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp index e605ea40..550e05c9 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp @@ -22,7 +22,6 @@ FTNoIR_Tracker::FTNoIR_Tracker() : for (int i = 0; i < 6; i++) *s.axes[i] = min_[i] = max_[i] = 0; GUID bar = {0}; - preferred = bar; } void FTNoIR_Tracker::reload() diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h index 2f630d18..0c2b3919 100644 --- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h +++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.h @@ -71,7 +71,6 @@ public: LPDIRECTINPUT8 g_pDI; LPDIRECTINPUTDEVICE8 g_pJoystick; int min_[8], max_[8]; - GUID preferred; QMutex mtx; QFrame* frame; DIDEVICEINSTANCE def; -- cgit v1.2.3