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:
Enrico Weigelt, metux IT consult
2025-09-17 11:35:16 +02:00
committed by Enrico Weigelt
parent 809b0a7999
commit 05b832e8b2

View File

@@ -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