Skip to content

Commit

Permalink
use while (true) in do loops with continue
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jan 23, 2024
1 parent be7856c commit 36453c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ast/arith_decl_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,8 @@ bool arith_util::is_extended_numeral(expr* term, rational& r) const {
return true;
}
return false;
} while (false);
}
while (true);
return false;
}

Expand Down

0 comments on commit 36453c5

Please sign in to comment.