]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a clang-tidy warning in test-mtasker.cc 13680/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 9 Jan 2024 09:15:37 +0000 (10:15 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 9 Jan 2024 09:17:18 +0000 (10:17 +0100)
pdns/recursordist/test-mtasker.cc

index 435f28d1ba6039216f7a889bd2a6b432e4e1c4fc..a4adc08aa7036dd1188d89c844eb49a677768b76 100644 (file)
@@ -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;