chiark / gitweb /
barrier: explicitly ignore return values of barrier_place()
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 4 Nov 2014 08:49:43 +0000 (09:49 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 4 Nov 2014 08:49:43 +0000 (09:49 +0100)
commitdfb05a1cf5479e6949d2413a633431c64d006ff2
tree2a693ecac6a57c3b69d0dbfc36c95791a42e7aba
parent44dd2c6e861316d26a78848eb0f6b35bd3b82d4b
barrier: explicitly ignore return values of barrier_place()

The barrier implementation tracks remote states internally. There is no
need to check the return value of any barrier_*() function if the caller
is not interested in the result. The barrier helpers only return the state
of the remote side, which is usually not interesting as later calls to
barrier_sync() will catch this, anyway.

Shut up coverity by explicitly ignoring return values of barrier_place()
if we're not interested in it.
src/nspawn/nspawn.c
src/shared/barrier.h