From: Marko Kreen Date: Wed, 13 Jan 2010 07:24:00 +0000 (+0000) Subject: Check error from event_init() to eliminate warning on strict build X-Git-Tag: pgbouncer_1_3_2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a7db130d7b896fb10b3ef295775b8dc88f32b1e;p=pgbouncer Check error from event_init() to eliminate warning on strict build --- diff --git a/src/main.c b/src/main.c index c8bab02..fa20c2d 100644 --- a/src/main.c +++ b/src/main.c @@ -720,7 +720,8 @@ int main(int argc, char *argv[]) /* initialize subsystems, order important */ srandom(time(NULL) ^ getpid()); - event_init(); + if (!event_init()) + fatal("event_init() failed"); signal_setup(); janitor_setup(); stats_setup();