From: Andreas Steffen Date: Wed, 21 Nov 2007 23:42:27 +0000 (-0000) Subject: added two return statements comitted by Marius Tomaschewski X-Git-Tag: 4.1.9~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f210387a6b7ebdb8e9f8cca61c2c97a8dc5e7a7a;p=thirdparty%2Fstrongswan.git added two return statements comitted by Marius Tomaschewski --- diff --git a/src/charon/sa/connect_manager.c b/src/charon/sa/connect_manager.c index d583e01bb7..01ece74578 100644 --- a/src/charon/sa/connect_manager.c +++ b/src/charon/sa/connect_manager.c @@ -1240,7 +1240,8 @@ static job_requeue_t initiate_mediated(initiate_data_t *data) } else { - // this should (can?) not happen + /* this should (can?) not happen */ + return JOB_REQUEUE_NONE; } } diff --git a/src/pluto/connections.c b/src/pluto/connections.c index 8350c682b9..2f0778ffe1 100644 --- a/src/pluto/connections.c +++ b/src/pluto/connections.c @@ -955,6 +955,7 @@ gen_reqid(void) } while (reqid != start); exit_log("unable to allocate reqid"); + return 0; /* never reached ... */ } void