]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Conditionalize the definition of ALLOC_REQ() (#4309)
authorJames Jones <jejones3141@gmail.com>
Wed, 10 Nov 2021 00:12:01 +0000 (18:12 -0600)
committerGitHub <noreply@github.com>
Wed, 10 Nov 2021 00:12:01 +0000 (19:12 -0500)
src/lib/server/trunk_tests.c

index f93876b2ed32bbdfb5787b4444014cdc23be5cde..2399610b04ccc29e77cd01736e1ac4e4eadf536a 100644 (file)
@@ -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)