mirror of
https://github.com/Z3Prover/z3
synced 2025-08-20 10:10:21 +00:00
Remove unnecessary null pointer checks
This commit is contained in:
parent
eae4fd6afd
commit
6e5d0b7594
5 changed files with 8 additions and 14 deletions
|
@ -34,9 +34,7 @@ class lp_dual_simplex: public lp_solver<T, X> {
|
|||
vector<bool> m_can_enter_basis;
|
||||
public:
|
||||
~lp_dual_simplex() override {
|
||||
if (m_core_solver != nullptr) {
|
||||
delete m_core_solver;
|
||||
}
|
||||
delete m_core_solver;
|
||||
}
|
||||
|
||||
lp_dual_simplex() : m_core_solver(nullptr) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue