mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
tests: assert that mask is zero is post_dispatch callback
This commit is contained in:
parent
550e8f3861
commit
d8dda50d27
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ fd_dispatch(int fd, uint32_t mask, void *data)
|
|||
{
|
||||
int *p = data;
|
||||
|
||||
assert(mask == 0);
|
||||
*p = 1;
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue