When DBUS_ENABLE_VERBOSE_MODE is not set, the compiler warns.
Let's remove the label.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
#ifdef DBUS_ENABLE_VERBOSE_MODE
_dbus_verbose("_dbus_poll: to=%d\n", timeout_milliseconds);
if (!_dbus_dump_fd_events (fds, n_fds))
- {
- ready = -1;
- goto oom;
- }
+ return -1;
#endif
for (i = 0; i < n_fds; i++)
if (!_dbus_dump_fdset (fds, n_fds, &read_set, &write_set, &err_set))
{
_dbus_win_set_errno (ENOMEM);
- ready = -1;
- goto oom;
+ return -1;
}
#endif
for (i = 0; i < n_fds; i++)
fdp->revents |= _DBUS_POLLERR;
}
}
-oom:
return ready;
}
#endif