summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 10:27:39 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 10:27:39 +0200
commit6f2a292bb7f84470354e5bc707a1f3eea9d824e3 (patch)
tree4e332aeccc27e3067c6c750bc6c3383f57e1cbe9
parent7f16cc265c4fe96c9c5bfcae2426aa036491b15b (diff)
joy: nix spurious warning with -Wall -Wextra
-rw-r--r--ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
index 7df65709..90091e5d 100644
--- a/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
+++ b/ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp
@@ -41,6 +41,8 @@ FTNoIR_Tracker::~FTNoIR_Tracker()
}
}
+#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
+
static BOOL CALLBACK EnumObjectsCallback( const DIDEVICEOBJECTINSTANCE* pdidoi,
VOID* pContext )
{