1
1

Eliminate a compiler warning, and simplify the code in the non-signals

case.

This commit was SVN r1222.
Этот коммит содержится в:
Jeff Squyres 2004-06-10 23:54:50 +00:00
родитель ab0460b1fa
Коммит 8ca88dbc30

Просмотреть файл

@ -254,12 +254,12 @@ select_add(void *arg, struct ompi_event *ev)
static int static int
select_del(void *arg, struct ompi_event *ev) select_del(void *arg, struct ompi_event *ev)
{ {
#if OMPI_EVENT_USE_SIGNALS
struct selectop *sop = arg; struct selectop *sop = arg;
if (!(ev->ev_events & OMPI_EV_SIGNAL)) if (!(ev->ev_events & OMPI_EV_SIGNAL))
return (0); return (0);
#if OMPI_EVENT_USE_SIGNALS
return (ompi_evsignal_del(&sop->evsigmask, ev)); return (ompi_evsignal_del(&sop->evsigmask, ev));
#else #else
return (0); return (0);