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:
Maarten Bosmans 2011-11-27 16:12:10 +00:00 committed by Colin Guthrie
parent e8028304b3
commit ae179d7321

View file

@ -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
}