xcb: fix unused static warning

The variable ptrXcursorLibraryLoadCursor is only used in code
wrapped in XCB_USE_XLIB.

Change-Id: If0b4997ac6e80a3709263d9793d1ca0dfd5907f3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
bb10
Marc Mutz 2012-08-13 22:34:28 +02:00 committed by Qt by Nokia
parent 75bf40ae13
commit c879cf0dcf
1 changed files with 2 additions and 0 deletions

View File

@ -54,7 +54,9 @@
QT_BEGIN_NAMESPACE
typedef int (*PtrXcursorLibraryLoadCursor)(void *, const char *);
#ifdef XCB_USE_XLIB
static PtrXcursorLibraryLoadCursor ptrXcursorLibraryLoadCursor = 0;
#endif
static xcb_font_t cursorFont = 0;
static int cursorCount = 0;