From 6f2a292bb7f84470354e5bc707a1f3eea9d824e3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 22 Sep 2014 10:27:39 +0200 Subject: joy: nix spurious warning with -Wall -Wextra --- ftnoir_tracker_joystick/ftnoir_tracker_joystick.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 ) { -- cgit v1.2.3