x11: Mark unused variables as such
We cannot get rid of the variables because they are assigned in a macro inside Xlib. And this causes a warning in the xlib from Fedora 17 onwards.
This commit is contained in:
@ -276,7 +276,7 @@ _gdk_x11_send_client_message_async (GdkDisplay *display,
|
|||||||
* XSync (dpy, 0)
|
* XSync (dpy, 0)
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
xReq *req;
|
G_GNUC_UNUSED xReq *req;
|
||||||
|
|
||||||
GetEmptyReq(GetInputFocus, req);
|
GetEmptyReq(GetInputFocus, req);
|
||||||
state->get_input_focus_req = dpy->request;
|
state->get_input_focus_req = dpy->request;
|
||||||
@ -739,7 +739,7 @@ _gdk_x11_roundtrip_async (GdkDisplay *display,
|
|||||||
* XSync (dpy, 0)
|
* XSync (dpy, 0)
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
xReq *req;
|
G_GNUC_UNUSED xReq *req;
|
||||||
|
|
||||||
GetEmptyReq(GetInputFocus, req);
|
GetEmptyReq(GetInputFocus, req);
|
||||||
state->get_input_focus_req = dpy->request;
|
state->get_input_focus_req = dpy->request;
|
||||||
|
|||||||
Reference in New Issue
Block a user