mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-29 18:08:29 +00:00
ipc: fixes warnings introduce in !2249
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2140>
This commit is contained in:
parent
f579e84c53
commit
5a61a8c3ab
|
@ -198,7 +198,6 @@ create_localspace(volatile struct ipc_client_state *ics, uint32_t *out_local_id)
|
|||
return xret;
|
||||
}
|
||||
|
||||
struct xrt_space *xs = NULL;
|
||||
struct xrt_space_overseer *xso = ics->server->xso;
|
||||
struct xrt_space **xs_ptr = (struct xrt_space **)&ics->xspcs[id];
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ common_shutdown(volatile struct ipc_client_state *ics)
|
|||
xrt_space_reference((struct xrt_space **)&ics->xspcs[i], NULL);
|
||||
}
|
||||
|
||||
if (ics->local_space_overseer_index < IPC_MAX_CLIENT_SPACES && ics->local_space_overseer_index >= 0) {
|
||||
if (ics->local_space_overseer_index < IPC_MAX_CLIENT_SPACES) {
|
||||
xrt_space_reference((struct xrt_space **)&ics->server->xso->localspace[ics->local_space_overseer_index],
|
||||
NULL);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue