]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Remove unnecessary return in fr_pool_init()
authorJorge Pereira <jpereira@freeradius.org>
Wed, 31 May 2023 16:21:50 +0000 (13:21 -0300)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 May 2023 17:42:47 +0000 (12:42 -0500)
src/lib/server/pool.c

index c7161f287750e02cc92bda784b747e9d71d6c1dd..26bcf6adfa645a520d10fdb8f8839fb03506dcc5 100644 (file)
@@ -1082,10 +1082,7 @@ fr_pool_t *fr_pool_init(TALLOC_CTX *ctx,
         *      to only 1 connection.
         *
         */
-       if (check_config) {
-               pool->start = pool->min = pool->max = 1;
-               return pool;
-       }
+       if (check_config) pool->start = pool->min = pool->max = 1;
 
        return pool;
 }