From d60cdc3876dcdddb4e33bc5285a48a8bf327bd4d Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 9 Jan 2024 10:15:37 +0100 Subject: [PATCH] rec: Fix a clang-tidy warning in test-mtasker.cc --- pdns/recursordist/test-mtasker.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pdns/recursordist/test-mtasker.cc b/pdns/recursordist/test-mtasker.cc index 435f28d1ba..a4adc08aa7 100644 --- a/pdns/recursordist/test-mtasker.cc +++ b/pdns/recursordist/test-mtasker.cc @@ -32,8 +32,9 @@ BOOST_AUTO_TEST_CASE(test_Simple) bool first = true; int o = 24; for (;;) { - while (mt.schedule(now)) - ; + while (mt.schedule(now)) { + } + if (first) { mt.sendEvent(12, &o); first = false; -- 2.47.2