diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2025-08-30 06:18:31 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2025-08-30 06:18:31 +0000 |
| commit | f0e36e35cb65bdb92dbe24d00a9cc6bc8d72a458 (patch) | |
| tree | 8a987b97f8a11b00d662f8e028ec15fcc7670ba4 /input.c | |
| parent | config: value_to_*(): don't overwrite result variable on error (diff) | |
input: unit test: check pipe2() return value
Fixes compilation failures with clang, in release mode.
Diffstat (limited to '')
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1878,7 +1878,7 @@ keyboard_modifiers(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, UNITTEST { int chan[2]; - pipe2(chan, O_CLOEXEC); + xassert(pipe2(chan, O_CLOEXEC) == 0); xassert(chan[0] >= 0); xassert(chan[1] >= 0); |
