Fix warning-as-error about member not used with Clang 3.6

Found by Clang 3.6 on Linux:
qxcbeglcontext.h:91:21: error: private field 'm_connection' is not used [-Werror,-Wunused-private-field]

Change-Id: I1a800c709d3543699131ffff13c2fcf8cf013175
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
This commit is contained in:
Thiago Macieira 2015-02-14 21:35:43 -08:00 committed by Shawn Rutledge
parent 9bf8b2a412
commit 0bcd067193

View File

@ -661,7 +661,7 @@ cookie_t q_xcb_call_template(const cookie_t &cookie, QXcbConnection *connection,
#else
#define Q_XCB_CALL(x) x
#define Q_XCB_CALL2(x, connection) x
#define Q_XCB_NOOP(c)
#define Q_XCB_NOOP(c) (void)c;
#endif
QT_END_NAMESPACE