pipewire/spa
Jarkko Sakkinen 8f76d80fde spa: Fix a compiler warning caused by unchecked read()
Wrap read() with the CHECK() used elsewhre in the test program, in order
to render out the compiler warning represented by this transcript:

➜  pipewire (af38edea) ✔ make
ninja -C /home/jarkko/Projects/pipewire/build
ninja: Entering directory `/home/jarkko/Projects/pipewire/build'
[6/397] Compiling C object spa/plugins/alsa/test-timer.p/test-timer.c.o
../spa/plugins/alsa/test-timer.c: In function ‘main’:
../spa/plugins/alsa/test-timer.c:195:3: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  195 |   read(state.timerfd, &expirations, sizeof(expirations));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
2020-12-24 17:54:32 +02:00
..
examples examples: dlclose on some errors 2020-07-02 16:07:54 +02:00
include result: don't use undefined shift 2020-12-21 21:08:56 +01:00
plugins spa: Fix a compiler warning caused by unchecked read() 2020-12-24 17:54:32 +02:00
tests result: don't use undefined shift 2020-12-21 21:08:56 +01:00
tools initialize variables better 2020-05-20 15:24:25 +02:00
meson.build a2dp: add aac encoder 2020-12-23 06:15:15 +00:00