mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
shm: Use a goto rather than early return for consistency.
This is functionally the same but is easier to understand.
This commit is contained in:
parent
e8028304b3
commit
ae179d7321
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ int pa_shm_create_rw(pa_shm *m, size_t size, pa_bool_t shared, mode_t mode) {
|
|||
pa_assert_se(pa_close(fd) == 0);
|
||||
m->do_unlink = TRUE;
|
||||
#else
|
||||
return -1;
|
||||
goto fail;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue