Skip to content

Commit

Permalink
rec: Fix a clang-tidy warning in test-mtasker.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
rgacogne committed Jan 9, 2024
1 parent c87f074 commit d60cdc3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pdns/recursordist/test-mtasker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d60cdc3

Please sign in to comment.