From 05b832e8b2bf7c31db337595af722ec3f97fc7f2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 17 Sep 2025 11:35:16 +0200 Subject: [PATCH] dri3: Xi: use return value of X_SEND_REPLY_SIMPLE() Signed-off-by: Enrico Weigelt, metux IT consult --- dri3/dri3_request.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c index ce7d14f5e9..5ef81406cd 100644 --- a/dri3/dri3_request.c +++ b/dri3/dri3_request.c @@ -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