mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-01-02 11:08:39 -05:00
core: Replace assert()s with pa_assert()s
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
This commit is contained in:
parent
59334021d3
commit
101092465d
7 changed files with 11 additions and 12 deletions
|
|
@ -111,7 +111,7 @@ pa_memchunk* pa_memchunk_memcpy(pa_memchunk *dst, pa_memchunk *src) {
|
|||
}
|
||||
|
||||
bool pa_memchunk_isset(pa_memchunk *chunk) {
|
||||
assert(chunk);
|
||||
pa_assert(chunk);
|
||||
|
||||
return
|
||||
chunk->memblock ||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ static int set_block(int fd, int blocking) {
|
|||
|
||||
int v;
|
||||
|
||||
assert(fd >= 0);
|
||||
pa_assert(fd >= 0);
|
||||
|
||||
if ((v = fcntl(fd, F_GETFL)) < 0)
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue