From 8ca88dbc3082a9da406f76f6cc5449f111991fec Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 10 Jun 2004 23:54:50 +0000 Subject: [PATCH] Eliminate a compiler warning, and simplify the code in the non-signals case. This commit was SVN r1222. --- src/event/select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/select.c b/src/event/select.c index 1080d9d738..ff65357f22 100644 --- a/src/event/select.c +++ b/src/event/select.c @@ -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);