]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
added two return statements comitted by Marius Tomaschewski
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 21 Nov 2007 23:42:27 +0000 (23:42 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 21 Nov 2007 23:42:27 +0000 (23:42 -0000)
src/charon/sa/connect_manager.c
src/pluto/connections.c

index d583e01bb7064b4a8b154002ff30865205433828..01ece745786bfd5565374f973f47874d6b6cc929 100644 (file)
@@ -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;
        }
 }
 
index 8350c682b920e0b661ec2f5f3a8a19b8506d24ec..2f0778ffe15c1ab06f03559f2e065fbc4685aa74 100644 (file)
@@ -955,6 +955,7 @@ gen_reqid(void)
     } while (reqid != start);
 
     exit_log("unable to allocate reqid");
+    return 0; /* never reached ... */
 }
 
 void