From: James Jones Date: Wed, 10 Nov 2021 00:12:01 +0000 (-0600) Subject: Conditionalize the definition of ALLOC_REQ() (#4309) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37eabb27836e769e40ca6a415fe104cb0f6bc23e;p=thirdparty%2Ffreeradius-server.git Conditionalize the definition of ALLOC_REQ() (#4309) --- diff --git a/src/lib/server/trunk_tests.c b/src/lib/server/trunk_tests.c index f93876b2ed..2399610b04 100644 --- a/src/lib/server/trunk_tests.c +++ b/src/lib/server/trunk_tests.c @@ -1447,12 +1447,14 @@ static void test_connection_rebalance_requests(void) talloc_free(preq); } +#if 0 #define ALLOC_REQ(_id) \ do { \ treq_##_id = fr_trunk_request_alloc(trunk, NULL); \ preq_##_id = talloc_zero(ctx, test_proto_request_t); \ preq_##_id->treq = treq_##_id; \ } while (0) +#endif #if 0 static void test_connection_levels_max(void)