Eliminate a compiler warning, and simplify the code in the non-signals
case. This commit was SVN r1222.
Этот коммит содержится в:
родитель
ab0460b1fa
Коммит
8ca88dbc30
@ -254,12 +254,12 @@ select_add(void *arg, struct ompi_event *ev)
|
||||
static int
|
||||
select_del(void *arg, struct ompi_event *ev)
|
||||
{
|
||||
#if OMPI_EVENT_USE_SIGNALS
|
||||
struct selectop *sop = arg;
|
||||
|
||||
if (!(ev->ev_events & OMPI_EV_SIGNAL))
|
||||
return (0);
|
||||
|
||||
#if OMPI_EVENT_USE_SIGNALS
|
||||
return (ompi_evsignal_del(&sop->evsigmask, ev));
|
||||
#else
|
||||
return (0);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user