diff --git a/src/plugins/platforms/xcb/qxcbxsettings.cpp b/src/plugins/platforms/xcb/qxcbxsettings.cpp index 1423c6262d..8679d502d9 100644 --- a/src/plugins/platforms/xcb/qxcbxsettings.cpp +++ b/src/plugins/platforms/xcb/qxcbxsettings.cpp @@ -151,8 +151,6 @@ public: // we ignore byteorder for now char byteOrder = xSettings.at(1); Q_UNUSED(byteOrder); - uint serial = *reinterpret_cast(xSettings.mid(4,4).constData()); - serial = serial; uint number_of_settings = *reinterpret_cast(xSettings.mid(8,4).constData()); const char *data = xSettings.constData() + 12; @@ -203,7 +201,6 @@ public: QXcbScreen *screen; xcb_window_t x_settings_window; - int serial; QMap settings; };