mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
dri3: Xi: use return value of X_SEND_REPLY_SIMPLE()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
809b0a7999
commit
05b832e8b2
@@ -114,8 +114,8 @@ proc_dri3_query_version(ClientPtr client)
|
||||
swapl(&rep.majorVersion);
|
||||
swapl(&rep.minorVersion);
|
||||
}
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
int
|
||||
@@ -130,8 +130,7 @@ dri3_send_open_reply(ClientPtr client, int fd)
|
||||
return BadAlloc;
|
||||
}
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -282,8 +281,7 @@ proc_dri3_buffer_from_pixmap(ClientPtr client)
|
||||
return BadAlloc;
|
||||
}
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -340,8 +338,7 @@ proc_dri3_fd_from_fence(ClientPtr client)
|
||||
if (WriteFdToClient(client, fd, FALSE) < 0)
|
||||
return BadAlloc;
|
||||
|
||||
X_SEND_REPLY_SIMPLE(client, rep);
|
||||
return Success;
|
||||
return X_SEND_REPLY_SIMPLE(client, rep);
|
||||
}
|
||||
|
||||
static int
|
||||
|
||||
Reference in New Issue
Block a user